* [PATCH, testsuite]: There is no warning for stack check with large frames on alpha
@ 2016-07-18 16:02 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2016-07-18 16:02 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
Hello!
Alpha uses its own stack checking routine (part of the ABI), and
doesn't use generic functionality.
Disable check for warning for large frames on alpha.
2016-07-18 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/pr70017.c: Do not check for warning on alpha*-*-*.
Tested on x86_64-linux-gnu and alpha-linux-gnu, committed to mainline SVN.
Uros.
[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 452 bytes --]
diff --git a/gcc/testsuite/gcc.dg/pr70017.c b/gcc/testsuite/gcc.dg/pr70017.c
index 52586fe..f544167 100644
--- a/gcc/testsuite/gcc.dg/pr70017.c
+++ b/gcc/testsuite/gcc.dg/pr70017.c
@@ -17,4 +17,4 @@ void foo(void)
#define ONE(s) a##s[0] = 0;
HUNDRED(a)
HUNDRED(b)
-} /* { dg-warning "frame size too large for reliable stack checking" } */
+} /* { dg-warning "frame size too large for reliable stack checking" "" { target { ! alpha*-*-* } } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-18 16:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18 16:02 [PATCH, testsuite]: There is no warning for stack check with large frames on alpha Uros Bizjak
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).