http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48144
Summary: ICE: in code_motion_path_driver, at sel-sched.c:6575 with -fselective-scheduling2 and custom flags Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 23676 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23676 auto-reduced testcase (from gfortran.dg/intrinsic_ifunction_1.f90) I am sorry for the insane flags needed to reproduce, but I hope this uncovers some possibly hidden problem. Compiler output: $ gfortran -O -fira-region=one -fno-dce -fno-guess-branch-probability -fno-ivopts -frerun-cse-after-loop -fschedule-insns2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling2 -fno-tree-copyrename -funroll-loops --param=max-cse-insns=50 --param=max-pipeline-region-blocks=30 testcase.f90 testcase.f90: In function 'gf0026': testcase.f90:6:0: internal compiler error: in code_motion_path_driver, at sel-sched.c:6575 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.