Command line: $ gfortran -O2 -fselective-scheduling2 testsuite/gfortran.dg/pr42294.f
Compiler output: $ /mnt/svn/gcc-trunk/binary-161428-lto-fortran-checking-yes-rtl-df/bin/gfortran -O2 -fselective-scheduling2 pr42294.f pr42294.f: In function 'orien': pr42294.f:39:0: internal compiler error: RTL check: expected code 'reg', have 'plus' in rhs_regno, at rtl.h:1050 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r161428 - crash (checking=yes,rtl,df) r161383 - crash (checking=yes,rtl,df) 4.5 r160526 - OK (checking=yes,rtl) Testcase is from the testsuite: testsuite/gfortran.dg/pr42294.f -- Summary: [4.6 Regression] ICE: RTL check: expected code 'reg', have 'plus' in rhs_regno, at rtl.h:1050 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44691