re PR c/78768 (-Walloca-larger-than and -Wformat-length warnings disabled by -flto)
authorRichard Biener <rguenther@suse.de>
Wed, 10 Jan 2018 14:51:07 +0000 (14:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 10 Jan 2018 14:51:07 +0000 (14:51 +0000)
2018-01-10  Richard Biener  <rguenther@suse.de>

PR testsuite/78768
* gcc.dg/pr78768.c: Un-XFAIL.

From-SVN: r256430

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr78768.c

index bac4032..f99a83d 100644 (file)
@@ -1,5 +1,10 @@
 2018-01-10  Richard Biener  <rguenther@suse.de>
 
+       PR testsuite/78768
+       * gcc.dg/pr78768.c: Un-XFAIL.
+
+2018-01-10  Richard Biener  <rguenther@suse.de>
+
        PR debug/82425
        * gcc.dg/guality/inline-params-2.c: Un-XFAIL for slim LTO.
 
index b6cda47..72ac3f8 100644 (file)
@@ -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;
 }