Optimization breaks application

Andrew Haley aph@redhat.com
Tue Jan 9 18:00:00 GMT 2007


Marco Trudel writes:
 > 
 > I run into a problem with the gcj 4.2 branch that surprises me:
 > If I compile a java application with -O1 or with -O2, the application 
 > doesn't work properly. If I omit optimization or use -O3, it works as 
 > expected.
That might be a bug.
 > Before I try to minimize the problem; Is it a common problem that 
 > optimization might break applications?
It's unusual, but it happens. I fixed such a bug only yesterday.
 > Is this then more a thing to discuss on the GCC or on the GCJ list?
Discuss it here.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /