------- Comment #8 from dominiq at lps dot ens dot fr 2008-10-13 16:54 ------- > Can you try the failing test cases with -fno-PIC to see if these issues are > related to the fact that darwin defaults to -fPIC?
Apparently the tests pass with -fno-PIC in 32 bit mode but not with -m64: [ibook-dhum] f90/bug% gfc -c -O1 -msse2 -mfpmath=sse -march=k8 -fno-PIC /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-1.c [ibook-dhum] f90/bug% gfc -c -O1 -msse2 -mfpmath=sse -march=k8 -fno-PIC /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-2.c [ibook-dhum] f90/bug% gfc -m64 -c -O1 -msse2 -mfpmath=sse -march=k8 -fno-PIC /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-1.c /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-1.c: In function 'not_opt3': /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-1.c:34: internal compiler error: in mems_in_disjoint_alias_sets_p, at alias.c:278 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [ibook-dhum] f90/bug% gfc -m64 -c -O1 -msse2 -mfpmath=sse -march=k8 -fno-PIC /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-2.c /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-2.c: In function 'not_opt3': /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/opt-2.c:37: internal compiler error: in mems_in_disjoint_alias_sets_p, at alias.c:278 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37106