[Bug rtl-optimization/66626] [4.9/5/6 Regression] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 1 08:22:00 GMT 2015


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

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #7)
> Created attachment 35882 [details]
> A patch

Uhuh... it's correct. We want to limit regparm value with local_regparm.

However, the unpatched compiler shows that LRA doesn't correctly handle argp
elimination. However, patched compiler will avoid this situation.


More information about the Gcc-bugs mailing list