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]

[testsuite] (commited) fix gcc.target/powerpc/pr18096-1.c


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);
 } 



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