Running the testsuite gives an unexpected failure (error out of assembler with -O0) -
[pactech01:~/tests] dir% gfortran -w -O3 -c ~/gfortran/gcc/gcc/testsuite/gfortran.dg/assign_2.f90 [pactech01:~/tests] dir% gfortran -w -O2 -c ~/gfortran/gcc/gcc/testsuite/gfortran.dg/assign_2.f90 [pactech01:~/tests] dir% gfortran -w -O1 -c ~/gfortran/gcc/gcc/testsuite/gfortran.dg/assign_2.f90 [pactech01:~/tests] dir% gfortran -w -O0 -c ~/gfortran/gcc/gcc/testsuite/gfortran.dg/assign_2.f90 /var/tmp//cc5uT7yz.s:28:section difference relocatable subtraction expression, "L2" minus "L00000000001$pb" using a symbol at the end of section will not produce an assembly time constant /var/tmp//cc5uT7yz.s:28:use a symbol with a constant value created with an assignment instead of the expression, L_const_sym = L2 - L00000000001$pb [pactech01:~/tests] dir% gfortran --v Using built-in specs. Target: i386-apple-darwin8.6.1 Configured with: ../gcc/configure --prefix=/Users/dir/gfortran --enable-languages=c,f95 Thread model: posix gcc version 4.2.0 20060417 (experimental) [pactech01:~/tests] dir% WARNING: Couldn't find the global config file. Test Run By dir on Mon Apr 17 09:22:47 2006 Native configuration is i386-apple-darwin8.6.1 === gfortran tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. Using /Users/dir/gfortran/gcc/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /Users/dir/gfortran/gcc/gcc/testsuite/gfortran.dg/dg.exp ... FAIL: gfortran.dg/assign_2.f90 -O0 (test for excess errors) Running /Users/dir/gfortran/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp ... Running /Users/dir/gfortran/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp ... Running /Users/dir/gfortran/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp ... Running /Users/dir/gfortran/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp ... === gfortran Summary === # of expected passes 12821 # of unexpected failures 1 # of expected failures 7 # of unresolved testcases 1 # of unsupported tests 46 /Users/dir/gfortran/ibin/gcc/testsuite/gfortran/../../gfortran version 4.2.0 20060417 (experimental) -- Summary: gfortran - testsuite unexpected failure - assembler error message Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov GCC host triplet: i386-apple-darwin8.6.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27183