OSDN Git Service

2011-03-24 Steve Ellcey <sje@cup.hp.com>
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Mar 2011 16:29:18 +0000 (16:29 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Mar 2011 16:29:18 +0000 (16:29 +0000)
PR target/48209
* gcc.c-torture/execute/pr47917.c: Move this...
* gcc.dg/torture/pr47917.c: to here and add xfails.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171404 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr47917.c [moved from gcc/testsuite/gcc.c-torture/execute/pr47917.c with 80% similarity]

index dab36a8..b7cad7f 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-24  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/48209
+       * gcc.c-torture/execute/pr47917.c: Move this...
+       * gcc.dg/torture/pr47917.c: to here and add xfails.
+
 2011-03-24  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gnat.dg/array16.ad[sb]: New test.
similarity index 80%
rename from gcc/testsuite/gcc.c-torture/execute/pr47917.c
rename to gcc/testsuite/gcc.dg/torture/pr47917.c
index 3d8a9bc..4b56c04 100644 (file)
@@ -1,3 +1,8 @@
+/* { dg-do run } */
+/* { dg-options "-std=c99" } */
+/* { dg-xfail-if "no C99 snprintf function" { *-*-hpux10* } } */
+/* { dg-xfail-run-if "non-conforming C99 snprintf" { *-*-hpux11.[012]* } } */
+
 /* PR middle-end/47917 */
 
 extern int snprintf (char *, __SIZE_TYPE__, const char *, ...);