Red Hat Bugzilla – Bug 125613
ant+ecj+gcj34-compiled ecj cannot compile self
Last modified: 2007-11-30 17:10:44 EST
Description of problem:
If you compile ecj using ant with (Naoko) ecj and compile the
resulting jar to an executable using gcj34 then the resulting
executable cannot compile itself. Something (either ecj or gcj34)
seems to be optimising away part of a loop. The attached patch
prevents the over-zealous optimisation.
Version-Release number of selected component (if applicable):
Created attachment 100989 [details]
I tried to make a small test class that would exhibit this failure but
I couldn't. If I slice out the piece of code in question then it
compiles perfectly, whistling innocently all the way :-/
Oh, and I don't have an i386 FC2 box so I've only seen this issue on
Not an issue with the JPackage-based packageset.