This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/12547] [tree-ssa] Libjava-failure with CVS-version on FreeBSD


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]