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): ecj-2.1.3-1 gcc34-java-3.4.0-1
Created attachment 100989 [details] Workaround
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 x86_64.
Not an issue with the JPackage-based packageset.