The bug hits about 38 other test in gfortran. These include...
FAIL: gfortran.dg/actual_array_constructor_1.f90 -O3 -g (test for excess
errors)
FAIL: gfortran.dg/assign.f90 -O3 -g (test for excess errors)
[...SNIP...]
Just in case, you can detect any sort of pattern from that set of
tests.
They all use common blocks or modules. Your best shot at this is to try
to get a reduced testcase, beginning with assign.f90 (which is the
shortest of these failing testcases):
integer i
common i
assign 2000 to i
2000 continue
end
Try to remove the 'assign' and 'continue' lines, see if it's still
broken. Try to compile without linking (gfortran -O3 -g -c assign.f90).
FX