re PR c/37271 (gcc.dg/pr37186.c doesn't work)
2008-08-31 Paolo Carlini <paolo.carlini@oracle.com> PR c/37271 * gcc.dg/pr37186.c: Add dg-message command for line 5. From-SVN: r139833
This commit is contained in:
parent
eb829078a3
commit
f885a45b90
@ -1,3 +1,8 @@
|
||||
2008-08-31 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c/37271
|
||||
* gcc.dg/pr37186.c: Add dg-message command for line 5.
|
||||
|
||||
2008-08-31 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/37289
|
||||
|
@ -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" } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user