This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: fix PR tree-optimization/28144
- From: Tom Tromey <tromey at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: Joern RENNECKE <joern dot rennecke at st dot com>, gcc-patches at gcc dot gnu dot org, <java-patches at gcc dot gnu dot org>
- Date: 05 Jul 2006 11:48:14 -0600
- Subject: Re: RFA: fix PR tree-optimization/28144
- References: <Pine.LNX.4.44.0607050718370.12907-100000@www.eyesopen.com>
- Reply-to: tromey at redhat dot com
>>>>> "Roger" == Roger Sayle <roger@eyesopen.com> writes:
Roger> I believe this issue can/should probably be fixed in the Java front-end
Roger> by construcing tree's that cast floating point types to integer types
Roger> narrower than an int, by first casting to "int".
parse.y:patch_cast looks like it tries to do this.
If it is failing in some case, I'd be mildly curious to know why.
I say "mildly" because with the eventual ecj merge, all this code is
going away... java bytecode explicitly represents the intermediate
cast.
Tom