This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37394] [4.4 Regression] Segfault in ia64_variable_issue with -O -fschedule-insns2
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2008 20:11:13 -0000
- Subject: [Bug target/37394] [4.4 Regression] Segfault in ia64_variable_issue with -O -fschedule-insns2
- References: <bug-37394-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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