[Bug optimization/12547] [tree-ssa] Libjava-failure with CVS-version on FreeBSD
jsturm at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 9 21:28:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12547
------- Additional Comments From jsturm at gcc dot gnu dot org 2003-10-09 21:28 -------
This may be a failure of the gimplifier after all. The Java FE is creating a
tree similar to:
t = (void *) (p ? p : throw e;)
which is getting mangled by gimplify_cond_expr into:
(void *) if (p)
t = p;
else
throw e;
i.e. the cast stays with the COND_EXPR which is now void.
This can be easily worked around in gcj, but I don't know how to fix the gimplifier.
More information about the Gcc-bugs
mailing list