projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b2b930
)
Fix MIPS test after recent match.pd changes
author
Jeff Law
<jeffreyalaw@gmail.com>
Thu, 18 Nov 2021 15:47:21 +0000
(10:47 -0500)
committer
Jeff Law
<jeffreyalaw@gmail.com>
Thu, 18 Nov 2021 15:47:21 +0000
(10:47 -0500)
gcc/testsuite
* gcc.target/mips/octeon-bbit-1.c (f3): Add noipa attribute.
gcc/testsuite/gcc.target/mips/octeon-bbit-1.c
patch
|
blob
|
history
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
(file)
--- 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)