Description of problem: When running javac thereby invoking gcj the compiler dies when a type is not supplied when declaring an instance variable as private, public or protected Version-Release number of selected component (if applicable): $ gcj -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcj.spec rename spec lib to liborig Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) How reproducible: The following program causes the crash: class T { public t; // private crash also } Steps to Reproduce: 1. javac T.java 2. 3. Actual results:javac T.java T.java:2: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Expected results: Additional info:
Fixed in gcc 3.4. T.java:2: error: Identifier expected. public t; // private crash also