[committed] Fix two mips target tests compromised by recent IPA work
Commit Message
Jan's recent IPA work compromised two mips tests. This restores the
tests by disabling IPA analysis on the key function in both tests.
Committed to the trunk,
Jeff
commit c70546482388951b5c9c19cff002ee6ab920b7f5
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.
@@ -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;
@@ -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;