This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix gcc.target/powerpc/pr18096-1.c for Darwin
- From: gkeating at apple dot com (Geoffrey Keating)
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Dec 2005 00:34:59 -0800 (PST)
- Subject: fix gcc.target/powerpc/pr18096-1.c for Darwin
On Darwin, this prints
pr18096-1.c:8: error: total size of local objects too large
which is clearly valid but not quite what the testcase is expecting.
Tested with 'make check-gcc' on powerpc-darwin8.
--
- Geoffrey Keating <geoffk@apple.com>
===File ~/patches/gcc-testsuite-pr18096message.patch========
2005-12-01 Geoffrey Keating <geoffk@apple.com>
* gcc.target/powerpc/pr18096-1.c: Be more liberal about possible
error messages.
Index: gcc/testsuite/gcc.target/powerpc/pr18096-1.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/pr18096-1.c (revision 107736)
+++ gcc/testsuite/gcc.target/powerpc/pr18096-1.c (working copy)
@@ -8,5 +8,5 @@
{
char line [2147483647];
f(line);
-} /* { dg-warning "stack frame too large" "stack frame too large" } */
+} /* { dg-warning "too large" "stack frame too large" } */
============================================================