Replace absolute line numbers in gcc.target/spu
2017-05-06 Tom de Vries <tom@codesourcery.com> PR testsuite/80557 * gcc.target/spu/Wmain.c: Replace absolute line numbers. * gcc.target/spu/intrinsics-1.c: Same. From-SVN: r247715
This commit is contained in:
parent
b25b8f9162
commit
63c40d9286
|
@ -1,3 +1,9 @@
|
|||
2017-05-06 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR testsuite/80557
|
||||
* gcc.target/spu/Wmain.c: Replace absolute line numbers.
|
||||
* gcc.target/spu/intrinsics-1.c: Same.
|
||||
|
||||
2017-05-06 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR testsuite/80557
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
/* { dg-options "-Wmain -mstdmain" } */
|
||||
|
||||
int main (void *wrong)/* { dg-warning "first argument of 'main' should be 'int'" } */
|
||||
/* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } .-1 } */
|
||||
{
|
||||
/* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } 4 } */
|
||||
}
|
||||
|
|
|
@ -10,10 +10,15 @@ void f(void)
|
|||
int *a1;
|
||||
_Complex double b;
|
||||
gt = spu_cmpgt(a, N); /* { dg-error "parameter list" } */
|
||||
|
||||
gt = spu_cmpgt(a, a1); /* { dg-error "integer from pointer without a cast" } */
|
||||
/* { dg-message "note: expected 'int'" "" { target *-*-* } .-1 } */
|
||||
|
||||
gt = spu_cmpgt(a, b); /* { dg-error "parameter list" } */
|
||||
|
||||
gt = spu_cmpgt(a, a);
|
||||
a = spu_cmpgt(a, a); /* { dg-message "note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts" } */
|
||||
/* { dg-message "note: expected 'int'" "" { target *-*-* } 13 } */
|
||||
/* { dg-error "incompatible types when assigning" "" { target *-*-* } 16 } */
|
||||
|
||||
a = spu_cmpgt(a, a);
|
||||
/* { dg-message "note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts" "" { target *-*-* } .-1 } */
|
||||
/* { dg-error "incompatible types when assigning" "" { target *-*-* } .-2 } */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue