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]
Other format: [Raw text]

Re: Optimization breaks application


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.


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