PR testsuite/78960 - FAIL: gcc.dg/tree-ssa/builtin-sprintf.c execution test
authorMartin Sebor <msebor@redhat.com>
Tue, 10 Jan 2017 22:45:52 +0000 (22:45 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 10 Jan 2017 22:45:52 +0000 (15:45 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c
gcc/testsuite/gcc.dg/tree-ssa/pr78622.c

index 8f5f8df..c332d90 100644 (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>
 
index 7757d5e..a3a467c 100644 (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
index 7a73ebe..3c6b881 100644 (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];