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

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #3)
> (In reply to Uroš Bizjak from comment #2)
> > Adding -msse to the second compilation works OK, removing -mfpmath=sse from
> > the first compilation also works OK.
> 
> Which makes this PR a LTO reincarnation of PR66047.

Please see the FIXME in ix86_function_sseregparm:

          /* Refuse to produce wrong code when local function with SSE enabled
             is called from SSE disabled function.
             FIXME: We need a way to detect these cases cross-ltrans partition
             and avoid using SSE calling conventions on local functions called
             from function with SSE disabled.  For now at least delay the
             warning until we know we are going to produce wrong code.
             See PR66047  */

Reply via email to