]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix two mips target tests compromised by recent IPA work
authorJeff Law <jeffreyalaw@gmail.com>
Wed, 17 Nov 2021 16:55:50 +0000 (11:55 -0500)
committerJeff Law <jeffreyalaw@gmail.com>
Wed, 17 Nov 2021 16:55:50 +0000 (11:55 -0500)
gcc/testsuite
* gcc.target/mips/frame-header-1.c (bar): Add noipa attribute.
* gcc.target/mips/frame-header-2.c (bar): Likewise.

gcc/testsuite/gcc.target/mips/frame-header-1.c
gcc/testsuite/gcc.target/mips/frame-header-2.c

index 971656ddaa3551fa12f5d10f8b3160c21dc7262c..55efc0b02f8208e81682d3893b3884e691cf102b 100644 (file)
@@ -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;
index 0e86bc91994d1ad66db4263f6a723d2b2b1b585c..31aa27e990f69000f547d5917a25cd5a15b98558 100644 (file)
@@ -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;