I have reduced this test case as much I could. The fact that it doesn't seem reducable any further suggests that this is a highly unlikely-to-be-hit corner case :)
# cat ThreadSpawnerThread.java public class ThreadSpawnerThread extends Thread { public static class AvailableQueue { public class WorkerThread extends Thread { private WorkerThread () { start (); } } } } # gcj -C ThreadSpawnerThread.java ThreadSpawnerThread.java: In class 'ThreadSpawnerThread$AvailableQueue$WorkerThread': ThreadSpawnerThread.java: In constructor '(ThreadSpawnerThread$AvailableQueue)': ThreadSpawnerThread.java:8: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. # gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/gcc-4.1.0_beta20050730/work/gcc-4.1-20050730/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.0-beta20050730 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0-beta20050730/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20050730 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20050730/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20050730/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0-beta20050730/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,java --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.0 20050730 (experimental) -- Summary: ICE in a specific doubly-nested class Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23220