From: Richard Biener Date: Wed, 10 Jan 2018 14:51:07 +0000 (+0000) Subject: re PR c/78768 (-Walloca-larger-than and -Wformat-length warnings disabled by -flto) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b975de05c3d724c2e7e09474da6d160669fb341;p=gcc.git re PR c/78768 (-Walloca-larger-than and -Wformat-length warnings disabled by -flto) 2018-01-10 Richard Biener PR testsuite/78768 * gcc.dg/pr78768.c: Un-XFAIL. From-SVN: r256430 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bac4032a57e..f99a83ddd78 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-01-10 Richard Biener + + PR testsuite/78768 + * gcc.dg/pr78768.c: Un-XFAIL. + 2018-01-10 Richard Biener PR debug/82425 diff --git a/gcc/testsuite/gcc.dg/pr78768.c b/gcc/testsuite/gcc.dg/pr78768.c index b6cda47c6a8..72ac3f87129 100644 --- a/gcc/testsuite/gcc.dg/pr78768.c +++ b/gcc/testsuite/gcc.dg/pr78768.c @@ -9,7 +9,7 @@ int main (void) { char *d = (char *)__builtin_alloca (12); /* { dg-warning "argument to .alloca. is too large" } */ - __builtin_sprintf (d, "%32s", "x"); /* { dg-warning "directive writing 32 bytes into a region of size 12" "-Wformat-overflow" { xfail *-*-* } } */ + __builtin_sprintf (d, "%32s", "x"); /* { dg-warning "directive writing 32 bytes into a region of size 12" "-Wformat-overflow" } */ return 0; }