From 7b975de05c3d724c2e7e09474da6d160669fb341 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 10 Jan 2018 14:51:07 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr78768.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.30.2