------- Comment #5 from hjl dot tools at gmail dot com 2008-09-07 20:11 ------- --- gcc/opts.c.over 2008-09-07 12:50:39.000000000 -0700 +++ gcc/opts.c 2008-09-07 12:47:04.000000000 -0700 @@ -1001,13 +1001,13 @@ decode_options (unsigned int argc, const flag_unwind_tables = targetm.unwind_tables_default; }
+ handle_options (argc, argv, lang_mask); + #ifdef OPTIMIZATION_OPTIONS /* Allow default optimizations to be specified on a per-machine basis. */ OPTIMIZATION_OPTIONS (optimize, optimize_size); #endif - handle_options (argc, argv, lang_mask); - /* Handle related options for unit-at-a-time, toplevel-reorder, and section-anchors. */ if (!flag_unit_at_a_time) Michael, this patch allows ia64_optimization_options to override -fschedule-insns2. But I am not sure if it is a proper fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37394