Gcc 4.4 revision 133635 has http://gcc.gnu.org/ml/gcc-testresults/2008-03/msg02105.html FAIL: gfortran.dg/assign_6.f -O1 execution test FAIL: gfortran.dg/assign_6.f -O2 execution test FAIL: gfortran.dg/assign_6.f -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/assign_6.f -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/assign_6.f -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/assign_6.f -O3 -g execution test FAIL: gfortran.dg/assign_6.f -Os execution test FAIL: gfortran.dg/g77/dnrm2.f -O1 execution test FAIL: gfortran.dg/g77/dnrm2.f -O2 execution test FAIL: gfortran.dg/g77/dnrm2.f -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/g77/dnrm2.f -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/g77/dnrm2.f -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/g77/dnrm2.f -O3 -g execution test FAIL: gfortran.dg/g77/dnrm2.f -Os execution test Revision 133631 is OK http://gcc.gnu.org/ml/gcc-testresults/2008-03/msg02101.html
my build patches are innocent :-)
Confirmed on i686-apple-darwin9 at revision 133638. The error is: Fortran runtime error: Assigned label is not in the list
Seen for cris-elf too; worked with 133631, failed with 133638.
I have verified that revision 133632: http://gcc.gnu.org/ml/gcc-cvs/2008-03/msg00852.html is the cause.
Mine.
Fixed.
Subject: Bug 35716 Author: rguenth Date: Thu Mar 27 17:09:54 2008 New Revision: 133647 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133647 Log: 2008-03-27 Richard Guenther <rguenther@suse.de> PR middle-end/35716 * fold-const.c (fold_comparison): Restrict distinct decl comparison folding to VAR_DECLs and PARM_DECLs. Do not solely rely on operand_equal_p. Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c