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]

[patch] PR/37442 gcc.target/i386/{pr12329.c,sse-5}.c


I only tested x86_64; HJ pointed this out.

Committed as obvious.

	PR/37442
	* gcc.target/i386/pr12329.c: Place error message on function name
	line.
	* gcc.target/i386/sse-5.c: Same.

Index: testsuite/gcc.target/i386/pr12329.c
===================================================================
--- testsuite/gcc.target/i386/pr12329.c	(revision 140120)
+++ testsuite/gcc.target/i386/pr12329.c	(working copy)
@@ -6,8 +6,8 @@ extern void abort (void);
 
 int test_nested (int i)
 {
-  int __attribute__ ((__noinline__, __regparm__(3))) foo(int j, int k, int l)
-  { /* { dg-error "nested functions are limited to 2 register parameters" } */
+  int __attribute__ ((__noinline__, __regparm__(3))) foo(int j, int k, int l) /* { dg-error "nested functions are limited to 2 register parameters" } */
+  {
     return i + j + k + l;
   }
 
Index: testsuite/gcc.target/i386/sse-5.c
===================================================================
--- testsuite/gcc.target/i386/sse-5.c	(revision 140120)
+++ testsuite/gcc.target/i386/sse-5.c	(working copy)
@@ -4,7 +4,7 @@
 
 typedef double v2df __attribute__ ((vector_size (16)));
 v2df p;
-q(v2df t)
-{			 /* { dg-warning "SSE" "" } */
+q(v2df t) /* { dg-warning "SSE" "" } */
+{
 	p=t;
 }


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