cdce3.C: Use dg-additional-options.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 28 Nov 2011 22:05:46 +0000 (23:05 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 28 Nov 2011 22:05:46 +0000 (23:05 +0100)
* g++.dg/cdce3.C: Use dg-additional-options.

From-SVN: r181789

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

index 5a9275c..467a4f1 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-28  Uros Bizjak  <ubizjak@gmail.com>
+
+       * g++.dg/cdce3.C: Use dg-additional-options.
+
 2011-11-28  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/50907
@@ -22,7 +26,7 @@
        * gcc.dg/lto/trans-mem-1_0.c: Add dg-lto-do link.
        * gcc.dg/lto/trans-mem-1_1.c:  Add dummy functions for
        _ITM_registerTMCloneTable, _ITM_deregisterTMCloneTable.
-       
+
 2011-11-27  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * gcc.target/mips/mult-2.c, gcc.target/mips/mult-3.c,
index e6ca58c..1174b19 100644 (file)
@@ -1,13 +1,12 @@
 /* { dg-do run } */
 /* { dg-require-effective-target c99_runtime } */
 /* { dg-skip-if "exp2* missing despite C99 runtime" { alpha*-dec-osf5* } } */
-/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details  -DGNU_EXTENSION -DLARGE_LONG_DOUBLE -lm" { target { pow10 && large_long_double } } } */
-/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -DLARGE_LONG_DOUBLE -lm" { target { {! pow10 } && large_long_double } } } */
-/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -DGNU_EXTENSION -lm" { target { pow10 && {! large_long_double } } } } */
-/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" { target { {! pow10 } && {! large_long_double } } } } */
+/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */
+/* { dg-additional-options "-DLARGE_LONG_DOUBLE" { target large_long_double } } */
+/* { dg-additional-options "-DGNU_EXTENSION" { target pow10 } } */
 /* { dg-add-options ieee } */
-/* { dg-final { scan-tree-dump  "cdce3.C:93: note: function call is shrink-wrapped into error conditions\." "cdce" { target { pow10 } } } } */
-/* { dg-final { scan-tree-dump  "cdce3.C:94: note: function call is shrink-wrapped into error conditions\." "cdce" { target { pow10 } } } } */
+/* { dg-final { scan-tree-dump  "cdce3.C:93: note: function call is shrink-wrapped into error conditions\." "cdce" { target pow10 } } } */
+/* { dg-final { scan-tree-dump  "cdce3.C:94: note: function call is shrink-wrapped into error conditions\." "cdce" { target pow10 } } } */
 /* { dg-final { scan-tree-dump  "cdce3.C:96: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump  "cdce3.C:97: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump  "cdce3.C:98: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
@@ -23,6 +22,7 @@
 /* { dg-final { scan-tree-dump  "cdce3.C:108: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump  "cdce3.C:109: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { cleanup-tree-dump "cdce" } } */
+
 #include <stdlib.h>
 #include <math.h>
 #ifdef DEBUG