From c01b75e75b0b9abd188c2c9feb1ae30ef6ed56a9 Mon Sep 17 00:00:00 2001 From: paolo Date: Sun, 31 Aug 2008 15:09:38 +0000 Subject: [PATCH] 2008-08-31 Paolo Carlini PR c/37271 * gcc.dg/pr37186.c: Add dg-message command for line 5. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139833 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr37186.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 153c538..7f1501f 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 7fa52ff..bf37757 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" } */ -- 2.7.4