| Index: gcc/gcc/testsuite/gcc.dg/cast-function-1.c
|
| diff --git a/gcc/gcc/testsuite/gcc.dg/cast-function-1.c b/gcc/gcc/testsuite/gcc.dg/cast-function-1.c
|
| index 8ed7d5da41cc830fb3544c224365cf14ad1a3661..781d0e221911821144794c76f749c747ca46f703 100644
|
| --- a/gcc/gcc/testsuite/gcc.dg/cast-function-1.c
|
| +++ b/gcc/gcc/testsuite/gcc.dg/cast-function-1.c
|
| @@ -22,14 +22,14 @@ void bar(void)
|
| int i;
|
| str_t s;
|
|
|
| - d = ((double (*) (int)) foo1) (i); /* { dg-warning "non-compatible|abort" } */
|
| - i = ((int (*) (double)) foo1) (d); /* { dg-warning "non-compatible|abort" } */
|
| - s = ((str_t (*) (int)) foo1) (i); /* { dg-warning "non-compatible|abort" } */
|
| + d = ((double (*) (int)) foo1) (i); /* { dg-warning "33:non-compatible|abort" } */
|
| + i = ((int (*) (double)) foo1) (d); /* { dg-warning "33:non-compatible|abort" } */
|
| + s = ((str_t (*) (int)) foo1) (i); /* { dg-warning "32:non-compatible|abort" } */
|
| ((void (*) (int)) foo1) (d); /* { dg-warning "non-compatible|abort" } */
|
| i = ((int (*) (int)) foo1) (i); /* { dg-bogus "non-compatible|abort" } */
|
| (void) foo1 (i); /* { dg-bogus "non-compatible|abort" } */
|
|
|
| - d = ((double (*) (int)) foo2) (i); /* { dg-warning "non-compatible|abort" } */
|
| + d = ((double (*) (int)) foo2) (i); /* { dg-warning "33:non-compatible|abort" } */
|
| i = ((int (*) (double)) foo2) (d); /* { dg-bogus "non-compatible|abort" } */
|
| s = ((str_t (*) (int)) foo2) (i); /* { dg-warning "non-compatible|abort" } */
|
| ((void (*) (int)) foo2) (d); /* { dg-warning "non-compatible|abort" } */
|
|
|