diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-05-09 09:06:58 +0000 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2017-05-10 08:15:32 +0000 |
commit | 8af3c675f22787fbdca42563839129326ed87cb1 (patch) | |
tree | c78704f83ebe5151ce51b0b4c0e6601c4975f943 | |
parent | 0ce44c6c40e67c95c06ddc18fb943ae5deb35b47 (diff) |
gcc/testsuite/
Backport from trunk r247582.
2017-05-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gcc.c-torture/execute/pr78622.c: Require c99_runtime effective
target.
Change-Id: I2e781ee9291aeb556c8beca1bf582e835a2500d6
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/pr78622.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr78622.c b/gcc/testsuite/gcc.c-torture/execute/pr78622.c index 85084bef026..384803d1a09 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr78622.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr78622.c @@ -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 |