PR testsuite/78960 - FAIL: gcc.dg/tree-ssa/builtin-sprintf.c execution test

PR testsuite/78960 - FAIL: gcc.dg/tree-ssa/builtin-sprintf.c execution test
PR testsuite/78959 - FAIL: gcc.c-torture/execute/pr78622.c 
PR testsuite/78133 - Commit r241489 adds printf specifiers not supported by newlib

gcc/testsuite/ChangeLog:
	PR testsuite/78960
	PR testsuite/78959
	PR testsuite/78133
	* gcc.dg/tree-ssa/builtin-sprintf.c: Require C99 runtime.
	* gcc.dg/tree-ssa/pr78622.c: Ditto.

From-SVN: r244298
This commit is contained in:
Martin Sebor 2017-01-10 22:45:52 +00:00 committed by Martin Sebor
parent fefd30867d
commit 664b1a6b29
3 changed files with 16 additions and 4 deletions

View File

@ -1,7 +1,15 @@
2017-01-10 Martin Sebor <msebor@redhat.com>
PR testsuite/78960
PR testsuite/78959
PR testsuite/78133
* gcc.dg/tree-ssa/builtin-sprintf.c: Require C99 runtime.
* gcc.dg/tree-ssa/pr78622.c: Ditto.
2017-01-10 Martin Sebor <msebor@redhat.com>
PR middle-end/78138
* gcc.dg/pr78138.c: New test.
* gcc.dg/pr78138.c: New test.
2017-01-10 David Malcolm <dmalcolm@redhat.com>

View File

@ -3,8 +3,10 @@
constant folding. With optimization enabled the test will fail to
link if any of the assertions fails. Without optimization the test
aborts at runtime if any of the assertions fails. */
/* { dg-do run } */
/* { dg-additional-options "-O2 -Wall -Wno-pedantic -fprintf-return-value" } */
/* { dg-do run }
The h and hh length modifiers are a C99 feature (see PR 78959).
{ dg-require-effective-target c99_runtime }
{ dg-additional-options "-O2 -Wall -Wno-pedantic -fprintf-return-value" } */
#ifndef LINE
# define LINE 0

View File

@ -1,7 +1,9 @@
/* PR middle-end/78622 - [7 Regression] -Wformat-length/-fprintf-return-value
incorrect with overflow/wrapping
{ dg-do compile }
{ dg-options "-Wformat-length=2" } */
{ dg-options "-Wformat-length=2" }
The h and hh length modifiers are a C99 feature (see PR 78959).
{ dg-require-effective-target c99_runtime } */
char buf[1];