public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5341] Fix two mips target tests compromised by recent IPA work
@ 2021-11-17 16:57 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2021-11-17 16:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c70546482388951b5c9c19cff002ee6ab920b7f5

commit r12-5341-gc70546482388951b5c9c19cff002ee6ab920b7f5
Author: Jeff Law <jeffreyalaw@gmail.com>
Date:   Wed Nov 17 11:55:50 2021 -0500

    Fix two mips target tests compromised by recent IPA work
    
    gcc/testsuite
            * gcc.target/mips/frame-header-1.c (bar): Add noipa attribute.
            * gcc.target/mips/frame-header-2.c (bar): Likewise.

Diff:
---
 gcc/testsuite/gcc.target/mips/frame-header-1.c | 2 +-
 gcc/testsuite/gcc.target/mips/frame-header-2.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/mips/frame-header-1.c b/gcc/testsuite/gcc.target/mips/frame-header-1.c
index 971656ddaa3..55efc0b02f8 100644
--- a/gcc/testsuite/gcc.target/mips/frame-header-1.c
+++ b/gcc/testsuite/gcc.target/mips/frame-header-1.c
@@ -8,7 +8,7 @@
 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
 /* { dg-final { scan-assembler "\taddiu\t\\\$sp,\\\$sp,-24" } } */
 
-NOMIPS16 void __attribute__((noinline))
+NOMIPS16 void __attribute__((noinline)) __attribute__((noipa))
 bar (int* a)
 {
   *a = 1;
diff --git a/gcc/testsuite/gcc.target/mips/frame-header-2.c b/gcc/testsuite/gcc.target/mips/frame-header-2.c
index 0e86bc91994..31aa27e990f 100644
--- a/gcc/testsuite/gcc.target/mips/frame-header-2.c
+++ b/gcc/testsuite/gcc.target/mips/frame-header-2.c
@@ -8,7 +8,7 @@
 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
 /* { dg-final { scan-assembler "\taddiu\t\\\$sp,\\\$sp,-8" } } */
 
-NOMIPS16 void __attribute__((noinline))
+NOMIPS16 void __attribute__((noinline)) __attribute__((noipa))
 bar (int* a)
 {
   *a = 1;


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

only message in thread, other threads:[~2021-11-17 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 16:57 [gcc r12-5341] Fix two mips target tests compromised by recent IPA work 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).