Compile the attached file with gcj -c -findirect-dispatch parser.class -O2
This compiles successfully with gcc 4.1, although it consumes a lot of memory. With 4.2 it fails with a stack overflow. -- Summary: Stack overflow in gcj Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: aph at gcc dot gnu dot org ReportedBy: aph at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27754