Hi! The testcase doesn't emit expected diagnostics on i?86, because the default is -mfpmath=387 there and so the function is perfectly inlinable.
The following patch makes sure we compile the testcase with -msse2 -mfpmath=sse everywhere, so it succeeds (or FAILs with the ipa-inline.c change reverted) on all x86 configurations the same. Tested on x86_64-linux, committed to trunk as obvious. 2018-12-10 Jakub Jelinek <ja...@redhat.com> PR ipa/87955 * gcc.target/i386/pr87955.c: Add -msse2 -mfpmath=sse to dg-options. --- gcc/testsuite/gcc.target/i386/pr87955.c.jj 2018-11-14 00:55:33.844621126 +0100 +++ gcc/testsuite/gcc.target/i386/pr87955.c 2018-12-10 14:23:07.713905223 +0100 @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -fopt-info-inline-missed" } */ +/* { dg-options "-O2 -msse2 -mfpmath=sse -fopt-info-inline-missed" } */ float a; Jakub