Require c99_runtime for pr78622.c
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 4 May 2017 09:36:29 +0000 (09:36 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 4 May 2017 09:36:29 +0000 (09:36 +0000)
2017-05-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gcc/testsuite/
    * gcc.c-torture/execute/pr78622.c: Require c99_runtime effective
    target.

From-SVN: r247582

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr78622.c

index ffce94dba676a9ba112c30b9d1f78f107eb05401..b2e28ee48d3680ff41bd83a99312de1948ff17e8 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gcc.c-torture/execute/pr78622.c: Require c99_runtime effective
+       target.
+
 2017-05-04  Tom de Vries  <tom@codesourcery.com>
 
        PR testsuite/80557
index 85084bef026fc6622d7c83e6e74186fe52a5edd6..384803d1a091723fdb6368faf5b5389de7509555 100644 (file)
@@ -1,6 +1,7 @@
 /* PR middle-end/78622 - [7 Regression] -Wformat-overflow/-fprintf-return-value
    incorrect with overflow/wrapping
    { dg-skip-if "Requires %hhd format" { hppa*-*-hpux* } { "*" } { "" } }
+   { dg-require-effective-target c99_runtime }
    { dg-additional-options "-Wformat-overflow=2" } */
 
 __attribute__((noinline, noclone)) int