[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
Wed Jan 27 14:03:00 GMT 2016


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

--- Comment #33 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Ilya Enkovich from comment #32)
> (In reply to Uroš Bizjak from comment #31)
> > Maybe we can use HJ's patch from Comment #27 and communicate converted_insns
> > flag from convert_scalars_to_vector to ix86_finalize_stack_realign_flags?
> > The i_f_s_r function is able to cancel the realignment just before prologue
> > generation, when realignment is not needed.
> 
> I don't see how it resolves DRAP register problem.  Patch will indicate we
> need to realign but won't provide a DRAP for it.  And as I mentioned before
> it might be unsafe to allocate DRAP after STV due to tail calls.

Please try my patch in comment 30.


More information about the Gcc-bugs mailing list