This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12547] [tree-ssa] Libjava-failure with CVS-version on FreeBSD
- From: "jsturm at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2003 21:28:33 -0000
- Subject: [Bug optimization/12547] [tree-ssa] Libjava-failure with CVS-version on FreeBSD
- References: <20031009100712.12547.lsjoberg@aland.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.