https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- I'd say ix86_function_sseregparm should be decided at a specific point and recorded for later use. Alternatively there needs to be a (target) IPA phase where we can mark functions we cannot turn into sseregparm.