aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wconversion-real-integer.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-04-27 19:27:21 -0400
committerDJ Delorie <dj@gcc.gnu.org>2009-04-27 19:27:21 -0400
commitfb4fc71466e14340adc76f29fe900fc3caac62c4 (patch)
tree5016c3016cbd4a69c53b0ce51289b4bc254bedc6 /gcc/testsuite/gcc.dg/Wconversion-real-integer.c
parent1883802f283370f24198916497c70d147a2ff8b4 (diff)
downloadgcc-fb4fc71466e14340adc76f29fe900fc3caac62c4.zip
gcc-fb4fc71466e14340adc76f29fe900fc3caac62c4.tar.gz
gcc-fb4fc71466e14340adc76f29fe900fc3caac62c4.tar.bz2
target-supports.exp (check_effective_target_double64): New.
* lib/target-supports.exp (check_effective_target_double64): New. (check_effective_target_double64plus): New. (check_effective_target_large_double): New. * gcc.dg/Wconversion-real-integer.c: Require double64plus. * gcc.dg/div-double-1.c: Likewise. * gcc.dg/Wconversion-real.c: Require large_double. * gcc.dg/cdce1.c: Require large_double instead of checking targets. * gcc.c-torture/execute/ieee/unsafe-fp-assoc-1.c: Skip if doubles are too small. * gcc.c-torture/execute/ieee/20010226-1.c: Mark all floating point constants as long. From-SVN: r146863
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wconversion-real-integer.c')
-rw-r--r--gcc/testsuite/gcc.dg/Wconversion-real-integer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/Wconversion-real-integer.c b/gcc/testsuite/gcc.dg/Wconversion-real-integer.c
index 1625fc0..c61ea70 100644
--- a/gcc/testsuite/gcc.dg/Wconversion-real-integer.c
+++ b/gcc/testsuite/gcc.dg/Wconversion-real-integer.c
@@ -5,6 +5,7 @@
/* { dg-skip-if "doubles are floats,ints are 16bits" { "avr-*-*" } { "*" } { "" } } */
/* { dg-options "-std=c99 -Wconversion" } */
/* { dg-require-effective-target int32plus } */
+/* { dg-require-effective-target double64plus } */
#include <limits.h>
void fsi (signed int x);