------- Additional Comments From andreast at gcc dot gnu dot org 2005-04-16 20:16 ------- I just built the tree without awt-gtk enabled. The gnu/java/awt/peer/gtk/GdkFontMetrics.class is built even without gtk enabled. So, a command line compile of the class to .o is possible and makes the bug easier to reproduce for others. As Andrew P already mentioned.
On darwin I reproduce the bug this way: /Volumes/src/gcc/gcc-cvs/objdir/./gcc/jc1 gnu/java/awt/peer/gtk/GdkFontMetrics.class -fhash-synchronization -fuse-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -feliminate-unused-debug-symbols -fPIC -quiet -dumpbase GdkFontMetrics.class -auxbase GdkFontMetrics -g -O2 -Wno-deprecated -version -fclasspath= -fbootclasspath=/Volumes/src/gcc/gcc-cvs/objdir/powerpc-apple-darwin7.9.0/libjava:/Volumes/src/gcc/gcc-cvs/gcc/libjava:/Volumes/src/gcc/gcc-cvs/gcc/libjava/external/w3c_dom:/Volumes/src/gcc/gcc-cvs/gcc/libjava/external/sax -fencoding=UTF-8 -findirect-dispatch -fjni -o /var/tmp//ccA7zDFV.s It happens on both, 4.0 and 4.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022