http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56081
--- Comment #8 from janus at gcc dot gnu.org 2013-01-23 10:00:31 UTC --- (In reply to comment #7) > FAIL: gfortran.dg/class_allocate_10.f03 -O0 (test for excess errors) > FAIL: gfortran.dg/class_allocate_8.f03 -O0 (test for excess errors) > FAIL: gfortran.dg/class_array_1.f03 -O0 (test for excess errors) > FAIL: gfortran.dg/class_array_2.f03 -O0 (test for excess errors) > FAIL: gfortran.dg/class_array_7.f03 -O0 (test for excess errors) > FAIL: gfortran.dg/class_to_type_1.f03 -O0 (test for excess errors) In fact all of these seem to be due to SELECT TYPE statements with class arrays (which are being transformed into an ordinary SELECT at resolution time), so one should probably add an extra check, whether it actually comes from a SELECT TYPE statement.