ms_c90-printf-1.c, [...]: Update expected messages.
* gcc.dg/format/ms_c90-printf-1.c, gcc.dg/format/ms_c90-scanf-1.c: Update expected messages. From-SVN: r180465
This commit is contained in:
parent
e6bccf3124
commit
1be82918f1
|
@ -1,3 +1,8 @@
|
||||||
|
2011-10-25 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* gcc.dg/format/ms_c90-printf-1.c, gcc.dg/format/ms_c90-scanf-1.c:
|
||||||
|
Update expected messages.
|
||||||
|
|
||||||
2011-10-25 Eric Botcazou <ebotcazou@adacore.com>
|
2011-10-25 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
* gcc.dg/vect/slp-multitypes-2.c: Do not XFAIL on SPARC 32-bit.
|
* gcc.dg/vect/slp-multitypes-2.c: Do not XFAIL on SPARC 32-bit.
|
||||||
|
|
|
@ -167,7 +167,7 @@ foo (int i, int i1, int i2, unsigned int u, double d, char *s, void *p,
|
||||||
*/
|
*/
|
||||||
printf ("%d", u);
|
printf ("%d", u);
|
||||||
/* Wrong number of arguments. */
|
/* Wrong number of arguments. */
|
||||||
printf ("%d%d", i); /* { dg-warning "arguments" "wrong number of args" } */
|
printf ("%d%d", i); /* { dg-warning "matching" "wrong number of args" } */
|
||||||
printf ("%d", i, i); /* { dg-warning "arguments" "wrong number of args" } */
|
printf ("%d", i, i); /* { dg-warning "arguments" "wrong number of args" } */
|
||||||
/* Miscellaneous bogus constructions. */
|
/* Miscellaneous bogus constructions. */
|
||||||
printf (""); /* { dg-warning "zero-length" "warning for empty format" } */
|
printf (""); /* { dg-warning "zero-length" "warning for empty format" } */
|
||||||
|
|
|
@ -106,7 +106,7 @@ foo (int *ip, unsigned int *uip, short int *hp, unsigned short int *uhp,
|
||||||
scanf ("%s", cs); /* { dg-warning "constant" "%s writing into const" } */
|
scanf ("%s", cs); /* { dg-warning "constant" "%s writing into const" } */
|
||||||
scanf ("%p", pcp); /* { dg-warning "constant" "%p writing into const" } */
|
scanf ("%p", pcp); /* { dg-warning "constant" "%p writing into const" } */
|
||||||
/* Wrong number of arguments. */
|
/* Wrong number of arguments. */
|
||||||
scanf ("%d%d", ip); /* { dg-warning "arguments" "wrong number of args" } */
|
scanf ("%d%d", ip); /* { dg-warning "matching" "wrong number of args" } */
|
||||||
scanf ("%d", ip, ip); /* { dg-warning "arguments" "wrong number of args" } */
|
scanf ("%d", ip, ip); /* { dg-warning "arguments" "wrong number of args" } */
|
||||||
/* Miscellaneous bogus constructions. */
|
/* Miscellaneous bogus constructions. */
|
||||||
scanf (""); /* { dg-warning "zero-length" "warning for empty format" } */
|
scanf (""); /* { dg-warning "zero-length" "warning for empty format" } */
|
||||||
|
|
Loading…
Reference in New Issue