This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/37394] [4.4 Regression] Segfault in ia64_variable_issue with -O -fschedule-insns2



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]