diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2021-11-18 10:47:21 -0500 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2021-11-18 10:47:21 -0500 |
commit | 16fab6d691b1410abdf794230246ab9753d183af (patch) | |
tree | 5f1520343cd21e84015abddbfbc108b49308aeaa | |
parent | 1b2b930152b1009690eba549a750a43948475aa4 (diff) | |
download | gcc-16fab6d691b1410abdf794230246ab9753d183af.zip gcc-16fab6d691b1410abdf794230246ab9753d183af.tar.gz gcc-16fab6d691b1410abdf794230246ab9753d183af.tar.bz2 |
Fix MIPS test after recent match.pd changes
gcc/testsuite
* gcc.target/mips/octeon-bbit-1.c (f3): Add noipa attribute.
-rw-r--r-- | gcc/testsuite/gcc.target/mips/octeon-bbit-1.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) |