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.