mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-09 11:07:26 +08:00
parse.y (fold_constant_for_init): Let VAR_DECL and FIELD_DECL be processed by the method's switch statement.
2000-04-17 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (fold_constant_for_init): Let VAR_DECL and FIELD_DECL be processed by the method's switch statement. From-SVN: r34024
This commit is contained in:
parent
9429bc4fb5
commit
ec5bb3cfb0
@ -1,3 +1,8 @@
|
||||
2000-04-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* parse.y (fold_constant_for_init): Let VAR_DECL and FIELD_DECL be
|
||||
processed by the method's switch statement.
|
||||
|
||||
2000-05-19 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java-tree.h: Added init state enum.
|
||||
|
@ -17225,8 +17225,6 @@ 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,8 +14593,6 @@ 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