* [committed] Fix two mips target tests compromised by recent IPA work
@ 2021-11-17 16:59 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2021-11-17 16:59 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
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
[-- Attachment #2: mips.patch --]
[-- Type: text/plain, Size: 1434 bytes --]
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.
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:59 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:59 [committed] 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).