OSDN Git Service

PR/37442
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2008 14:48:15 +0000 (14:48 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2008 14:48:15 +0000 (14:48 +0000)
        * gcc.target/i386/pr12329.c: Place error message on function name
        line.
        * gcc.target/i386/sse-5.c: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140155 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr12329.c
gcc/testsuite/gcc.target/i386/sse-5.c

index 5393493..311b03e 100644 (file)
@@ -6,6 +6,13 @@
 
 2008-09-09  Aldy Hernandez  <aldyh@redhat.com>
 
+       PR/37442
+       * gcc.target/i386/pr12329.c: Place error message on function name
+       line.
+       * gcc.target/i386/sse-5.c: Same.
+
+2008-09-09  Aldy Hernandez  <aldyh@redhat.com>
+
        * gcc.dg/always_inline.c: Place error message on function
        name line.
        * gcc.dg/winline-6.c: Same.
index aeefeb0..21d2c65 100644 (file)
@@ -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 fa40366..c3ed8f2 100644 (file)
@@ -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;
 }