This is the mail archive of the gcc-patches@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]

Re: RFA: fix PR tree-optimization/28144


>>>>> "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


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