Commit 018fe68f by Aldy Hernandez Committed by Aldy Hernandez

pr12329.c: Place error message on function name line.

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

From-SVN: r140155
parent 9c575182
......@@ -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.
......
......@@ -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;
}
......
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment