diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2011-11-28 23:05:46 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-11-28 23:05:46 +0100 |
commit | 338a1a221bb142f82721d1cca45d4010dc3b024c (patch) | |
tree | a9afa90f8b4b1facc6993d3f3844ee60161394c6 /gcc | |
parent | c32f25b88513490bdefa864117808f7cbc84c0a0 (diff) | |
download | gcc-338a1a221bb142f82721d1cca45d4010dc3b024c.zip gcc-338a1a221bb142f82721d1cca45d4010dc3b024c.tar.gz gcc-338a1a221bb142f82721d1cca45d4010dc3b024c.tar.bz2 |
cdce3.C: Use dg-additional-options.
* g++.dg/cdce3.C: Use dg-additional-options.
From-SVN: r181789
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cdce3.C | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a9275c..467a4f1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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, diff --git a/gcc/testsuite/g++.dg/cdce3.C b/gcc/testsuite/g++.dg/cdce3.C index e6ca58c..1174b19 100644 --- a/gcc/testsuite/g++.dg/cdce3.C +++ b/gcc/testsuite/g++.dg/cdce3.C @@ -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 |