public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5375] Fix MIPS test after recent match.pd changes
@ 2021-11-18 15:48 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2021-11-18 15:48 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:16fab6d691b1410abdf794230246ab9753d183af

commit r12-5375-g16fab6d691b1410abdf794230246ab9753d183af
Author: Jeff Law <jeffreyalaw@gmail.com>
Date:   Thu Nov 18 10:47:21 2021 -0500

    Fix MIPS test after recent match.pd changes
    
    gcc/testsuite
            * gcc.target/mips/octeon-bbit-1.c (f3): Add noipa attribute.

Diff:
---
 gcc/testsuite/gcc.target/mips/octeon-bbit-1.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/mips/octeon-bbit-1.c b/gcc/testsuite/gcc.target/mips/octeon-bbit-1.c
index f91c68bcdcc..8adbb26e377 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-18 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 15:48 [gcc r12-5375] Fix MIPS test after recent match.pd changes Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).