This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: Bad code with optimization


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.



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