https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63566
--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Sun Feb 8 21:04:41 2015 New Revision: 220520 URL: https://gcc.gnu.org/viewcvs?rev=220520&root=gcc&view=rev Log: PR ipa/63566 * i386.c (ix86_function_regparm): Look through aliases to see if callee is local and optimized. (ix86_function_sseregparm): Likewise; also use target's SSE math settings; error out instead of silently generating wrong code on mismatches. (init_cumulative_args): Look through aliases. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c