http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54350
Bug #: 54350 Summary: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: bur...@net-b.de, hjl.to...@gmail.com Revision 190586 caused several failures in the gfortran test suite: FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-loops (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-loops (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-loops (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-loops (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (test for excess errors) FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (test for excess errors) The ICEs I have looked at are of the kind /opt/gcc/work/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90: In function 'MAIN__': /opt/gcc/work/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31:0: internal compiler error: in gfc_conv_procedure_call, at fortran/trans-expr.c:3721 a = nar2() ! { dg-warning "Code for reallocating the allocatable array" } ^ r190585 is OK. Note that the polyhedron test rnflow.f90 also does not compile.