From: Thomas Preud'homme Date: Thu, 4 May 2017 09:36:29 +0000 (+0000) Subject: Require c99_runtime for pr78622.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=010b1cc046c8fe17349fcde4900c01e1085ead44;p=gcc.git Require c99_runtime for pr78622.c 2017-05-04 Thomas Preud'homme gcc/testsuite/ * gcc.c-torture/execute/pr78622.c: Require c99_runtime effective target. From-SVN: r247582 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ffce94dba67..b2e28ee48d3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-05-04 Thomas Preud'homme + + * gcc.c-torture/execute/pr78622.c: Require c99_runtime effective + target. + 2017-05-04 Tom de Vries PR testsuite/80557 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