This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] (commited) fix gcc.target/powerpc/pr18096-1.c
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 01 Dec 2008 16:28:46 -0800
- Subject: [testsuite] (commited) fix gcc.target/powerpc/pr18096-1.c
- Reply-to: janis187 at us dot ibm dot com
Revision 140144 back in September changed the reported location for the
start of a function, which broke this test which expected an error to
be reported at opening brace. All powerpc targets have been failing
the test since that time. This patch moves the expected location of
the error. Tested on powerpc64-linux for -m32 and -m64, checked in.
2008-12-01 Janis Johnson <janis187@us.ibm.com>
* gcc.target/powerpc/pr18096-1.c: Adjust location of expected error.
Index: gcc/testsuite/gcc.target/powerpc/pr18096-1.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/pr18096-1.c (revision 142334)
+++ gcc/testsuite/gcc.target/powerpc/pr18096-1.c (working copy)
@@ -4,8 +4,8 @@
void f(char*);
-void mkcatdefs(char *fname)
-{ /* { dg-error "too large" "stack frame too large" } */
+void mkcatdefs(char *fname) /* { dg-error "too large" "stack frame too large" } */
+{
char line [2147483647];
f(line);
}