diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 2000-05-19 16:17:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-05-19 16:17:20 +0000 |
commit | ec5bb3cfb0fa99afb261b589bb238e830d341e94 (patch) | |
tree | de0e8bd267448ecb228be6d6735c2cbf9ad766d6 /gcc/java/parse.c | |
parent | 9429bc4fb581ab7a065a596c1e7d5c201ced3e2c (diff) | |
download | gcc-ec5bb3cfb0fa99afb261b589bb238e830d341e94.zip gcc-ec5bb3cfb0fa99afb261b589bb238e830d341e94.tar.gz gcc-ec5bb3cfb0fa99afb261b589bb238e830d341e94.tar.bz2 |
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
Diffstat (limited to 'gcc/java/parse.c')
-rw-r--r-- | gcc/java/parse.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/java/parse.c b/gcc/java/parse.c index e6bf159..e7d5c94 100644 --- a/gcc/java/parse.c +++ b/gcc/java/parse.c @@ -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) { |