From: Jeff Law Date: Thu, 18 Nov 2021 15:47:21 +0000 (-0500) Subject: Fix MIPS test after recent match.pd changes X-Git-Tag: basepoints/gcc-13~2938 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fab6d691b1410abdf794230246ab9753d183af;p=thirdparty%2Fgcc.git Fix MIPS test after recent match.pd changes gcc/testsuite * gcc.target/mips/octeon-bbit-1.c (f3): Add noipa attribute. --- diff --git a/gcc/testsuite/gcc.target/mips/octeon-bbit-1.c b/gcc/testsuite/gcc.target/mips/octeon-bbit-1.c index f91c68bcdcc7..8adbb26e377c 100644 --- a/gcc/testsuite/gcc.target/mips/octeon-bbit-1.c +++ b/gcc/testsuite/gcc.target/mips/octeon-bbit-1.c @@ -22,7 +22,9 @@ f2 (int i) foo (); } -NOMIPS16 void +/* f3 and f4 are equivalent and may be subject to ICF. The attribute + is supposed to prevent that. */ +NOMIPS16 void __attribute__ ((noipa)) f3 (int i) { if (i % 2)