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: 6 Sep 2008 17:07:34 -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 #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