diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 153c538fc9c..7f1501ffb18 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-08-31 Paolo Carlini + + PR c/37271 + * gcc.dg/pr37186.c: Add dg-message command for line 5. + 2008-08-31 Richard Guenther PR middle-end/37289 diff --git a/gcc/testsuite/gcc.dg/pr37186.c b/gcc/testsuite/gcc.dg/pr37186.c index 7fa52ffe83d..bf37757f88a 100644 --- a/gcc/testsuite/gcc.dg/pr37186.c +++ b/gcc/testsuite/gcc.dg/pr37186.c @@ -2,7 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-Wall -Werror -Wno-error=pointer-sign" } */ -int foo(signed char *); +int foo(signed char *); /* { dg-message "note: expected 'signed char \\*' but argument is of type 'unsigned char \\*'" } */ int bar(unsigned char *p) { return foo(p); /* { dg-warning "pointer targets in passing argument 1 of 'foo' differ in signedness" } */