This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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" } */
 
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]