http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49349
Summary: gfortran.dg/char_result_3.f90 fails with -O3 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@cup.hp.com CC: t...@codesourcery.com Target: ia64-hp-hpux11* Compiling gfortran.dg/char_result_3.f90 on IA64 HP-UX with the -O3 option results in: $ obj_gcc/gcc/f951 -O3 -quiet char_result_3.f90 char_result_3.f90: In function 'f4': char_result_3.f90:71:0: internal compiler error: in bundling, at config/ia64/ia6 4.c:8845 The failure started with r173853. 2011-05-18 Tom de Vries <t...@codesourcery.com> PR target/45098 * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost This only happens in 32 bit mode so I can't reproduce it on IA64 Linux. If I turn off selective scheduling (-fno-selective-scheduling or -fno-selective-scheduling2) it goes away. I don't know if the bug is in the scheduling or in this fix to PR 45098.