------- Comment #4 from hjl dot tools at gmail dot com 2008-09-06 17:07 ------- The problem is IA64 has
void ia64_optimization_options (int level ATTRIBUTE_UNUSED, int size ATTRIBUTE_UNUSED) { /* Disable the second machine independent scheduling pass and use one for the IA-64. This needs to be here instead of in OVERRIDE_OPTIONS because this is done whenever the optimization is changed via #pragma GCC optimize or attribute((optimize(...))). */ ia64_flag_schedule_insns2 = flag_schedule_insns_after_reload; flag_schedule_insns_after_reload = 0; We didn't handle "-O -fschedule-insns2" properly when after function specific change. Michael, can you take a look at it? Thanks. -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gnu at the-meissners dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37394