[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
Thu Jul 2 08:44:00 GMT 2015


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

--- Comment #15 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #14)
> > > Created attachment 35882 [details]
> > > A patch
> > 
> > Uhuh... it's correct. We want to limit regparm value with local_regparm.
> 
> Please note that for some reason this patch regressed
> gcc.target/i386/local.c for 32bit targets.

... which means that proposed patch is wrong. We want to *increase* regparm for
local functions as much as possible, even increasing specified regparm.


More information about the Gcc-bugs mailing list