Found during examination of objc.log of http://gcc.gnu.org/ml/gcc-testresults/2004-12/ msg00277.html
the exact version of GCC; gcc version 4.0.0 20041205 (experimental) the system type; localhost:~ lars$ uname -a Darwin localhost 7.2.1 Darwin Kernel Version 7.2.1: Wed Jul 14 03:00:02 PDT 2004; root:tmp/xnu- 7.2.1-1-root.obj/RELEASE_I386 x86 i386 the options given when GCC was configured/built; localhost:~ lars$ /tmp/gcc/bin/gcc -v Reading specs from /private/tmp/gcc/bin/../lib/gcc/i686-apple-darwin7.2.1/4.0.0/specs Configured with: ../gcc-4.0-20041205/configure --prefix=/tmp/gcc Thread model: posix gcc version 4.0.0 20041205 (experimental) the complete command line that triggers the bug; /Volumes/Data/Users/lars/GCC/FSF/gcc-build/gcc/ xgcc -B/Volumes/Data/Users/lars/GCC/FSF/gcc-build/gcc/ /Users/lars/GCC/FSF/gcc-4.0-20041205/ gcc/testsuite/objc.dg/selector-1.m -Wselector -fnext-runtime -I/Users/lars/GCC/FSF/gcc-4.0- 20041205/gcc/testsuite/../../libobjc -L/Volumes/Data/Users/lars/GCC/FSF/gcc-build/i686-apple- darwin7.2.1/./libobjc/.libs -S -fgnu-runtime -o selector-1.s the -fnext-runtime can be omitted (causing no change) resulted in: /Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m: In function '-[Foo foo]': /Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m:22: warning: assignment discards qualifiers from pointer target type /Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m:23: warning: assignment discards qualifiers from pointer target type /Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m: At top level: /Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m:25: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. the preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command see attachement -- Summary: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector- 1.m Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lars dot sonchocky-helldorf at hamburg dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-apple-darwin7.2.1 GCC host triplet: i686-apple-darwin7.2.1 GCC target triplet: i686-apple-darwin7.2.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862