Reverted incorrectly applied change
From-SVN: r34023
This commit is contained in:
parent
67db0ce748
commit
9429bc4fb5
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user