https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63566
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-10-16
CC| |hubicka at gcc dot gnu.org,
| |jakub at gcc dot gnu.org,
| |uros at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
config/i386/i386.c (ix86_function_regparm) and ix86_function_sseregparm too
(which apparently has an issue that it hasn't been adjusted for opt_for_fn)
can adjust the i386 calling conventions from normal to regparm something.
Perhaps that needs to be adjusted, so that if you call a local function through
an alias, the same calling convention is used as well.