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: upstream/12.2.0~3322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16fab6d691b1410abdf794230246ab9753d183af;p=platform%2Fupstream%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 f91c68b..8adbb26 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)