Reverted incorrectly applied change

From-SVN: r34023
This commit is contained in:
Tom Tromey 2000-05-19 16:10:55 +00:00
parent 67db0ce748
commit 9429bc4fb5
2 changed files with 4 additions and 0 deletions

View File

@ -17225,6 +17225,8 @@ fold_constant_for_init (node, context)
if (code == INTEGER_CST || code == REAL_CST)
return convert (TREE_TYPE (context), node);
if (TREE_TYPE (node) != NULL_TREE && code != VAR_DECL && code != FIELD_DECL)
return NULL_TREE;
switch (code)
{

View File

@ -14593,6 +14593,8 @@ fold_constant_for_init (node, context)
if (code == INTEGER_CST || code == REAL_CST)
return convert (TREE_TYPE (context), node);
if (TREE_TYPE (node) != NULL_TREE && code != VAR_DECL && code != FIELD_DECL)
return NULL_TREE;
switch (code)
{