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-Tag: basepoints/gcc-9~2101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b975de05c3d724c2e7e09474da6d160669fb341;p=thirdparty%2Fgcc.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 bac4032a57e9..f99a83ddd783 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 b6cda47c6a88..72ac3f871294 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; }