This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Bad code with optimization
- To: Antonio Ake <ake at ecn dot purdue dot edu>
- Subject: Re: Bad code with optimization
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Wed, 07 Nov 2001 12:07:24 +1300
- CC: java at gcc dot gnu dot org
- References: <Pine.GSO.4.33.0111061738340.26050-100000@min.ecn.purdue.edu>
Antonio Ake wrote:
>Hello, This program doesn't work with -O1 and -O2 flags. But when it is
>compiled with -O0, then the program runs succesfully.
>I have done more testing and this is also a problem with gcc and a C
>program.
>
I see this too. Could you please post the C test case to
gcc-bugs@gcc.gnu.org, and file a PR under category "optimization". It
might be worth including both the C and Java test cases in the PR.
Thanks!
Bryce.