parse.y (java_complete_lhs case EXPR_WITH_FILE_LOCATION): If body is constant, return...
authorPer Bothner <per@bothner.com>
Sun, 14 Jan 2001 20:46:32 +0000 (12:46 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sun, 14 Jan 2001 20:46:32 +0000 (12:46 -0800)
commit00b4575d1eb041bac1d0b5f46f4e8e1e506de02c
tree9e4aef705f18edbdce9dd190a5e5106926a873cd
parent521b92248e4ce84a4106887ac8104d820037717f
parse.y (java_complete_lhs case EXPR_WITH_FILE_LOCATION): If body is constant, return body without wrapper.

* parse.y (java_complete_lhs case EXPR_WITH_FILE_LOCATION): If body is
constant, return body without wrapper.  (Improves constant folding.)
* lex.c (build_wfl_node):  Clear TREE_TYPE from returned node.

From-SVN: r39017
gcc/java/ChangeLog
gcc/java/lex.c
gcc/java/parse.y