[Bug middle-end/69454] [6 Regression] ix86_expand_prologue internal compiler error: Segmentation fault

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 26 13:04:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69454

--- Comment #18 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #17)
> 
> Do you have a testcase to show that you need to realign stack for STV?

You can keep track alignment requirement in STV and replace

 /* Conversion means we may have 128bit register spills/fills
     which require aligned stack.  */
  if (converted_insns)
    {
      if (crtl->stack_alignment_needed < 128)
        crtl->stack_alignment_needed = 128;
      if (crtl->stack_alignment_estimated < 128)
        crtl->stack_alignment_estimated = 128;
    }

with an assert.


More information about the Gcc-bugs mailing list