cdce3.C: Require c99 runtime.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Mon, 8 Sep 2008 22:26:44 +0000 (22:26 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 8 Sep 2008 22:26:44 +0000 (22:26 +0000)
* g++.dg/cdce3.C: Require c99 runtime.

From-SVN: r140125

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cdce3.C

index d8e57165e87b7d6d37604bdc4f057b36fc1195f8..4a4afab0a5e4e131b8106d0dfb858706a3371fea 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * g++.dg/cdce3.C: Require c99 runtime.
+
 2008-09-08  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/37393
index 19f7f0b295ae75f702e601a5c02504be2249194f..d70fa6de979f18525d2092f0087975ff9deda84d 100644 (file)
@@ -1,10 +1,10 @@
 /* { dg-do run } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -DNO_GNU_EXTENSION -lm" { target "*-*-darwin*" } } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details  -lm" { target { {! "*-*-darwin*" } && large_long_double } } }*/
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -DNO_LONG_DOUBLE -lm" { target {! large_long_double } } } */
-/* { dg-final { scan-tree-dump  "cdce3.C:89: note: function call is shrink-wrapped into error conditions\." "cdce" { target {! "*-*-darwin*" } } } }*/
 /* { dg-final { scan-tree-dump  "cdce3.C:90: note: function call is shrink-wrapped into error conditions\." "cdce" { target {! "*-*-darwin*" } } } }*/
-/* { dg-final { scan-tree-dump  "cdce3.C:92: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
+/* { dg-final { scan-tree-dump  "cdce3.C:91: note: function call is shrink-wrapped into error conditions\." "cdce" { target {! "*-*-darwin*" } } } }*/
 /* { dg-final { scan-tree-dump  "cdce3.C:93: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
 /* { dg-final { scan-tree-dump  "cdce3.C:94: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
 /* { dg-final { scan-tree-dump  "cdce3.C:95: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
@@ -18,6 +18,7 @@
 /* { dg-final { scan-tree-dump  "cdce3.C:103: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
 /* { dg-final { scan-tree-dump  "cdce3.C:104: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
 /* { dg-final { scan-tree-dump  "cdce3.C:105: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
+/* { dg-final { scan-tree-dump  "cdce3.C:106: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
 /* { dg-final { cleanup-tree-dump "cdce" } } */
 #include <stdlib.h>
 #include <math.h>