summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wconversion-integer.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-08 18:14:21 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-08 18:14:21 +0000
commitb8c926fffb2acc99b1410c2e565b07bdc83952b2 (patch)
treeee3fa624b17b5f89232793441d5b1e05030bbdfa /gcc/testsuite/gcc.dg/Wconversion-integer.c
parent4f2e9ceb5df926598edfb2b9a2cd1a5a581d0002 (diff)
downloadgcc-b8c926fffb2acc99b1410c2e565b07bdc83952b2.tar.gz
2006-12-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* lib/target-supports.exp (check_effective_target_large_long_double): New. * gcc.dg/Wconversion-real.c : Use it. * gcc.dg/Wconversion-integer.c : Fix for targets where char is unsigned. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wconversion-integer.c')
-rw-r--r--gcc/testsuite/gcc.dg/Wconversion-integer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/Wconversion-integer.c b/gcc/testsuite/gcc.dg/Wconversion-integer.c
index bab8062b777..515aba30dbf 100644
--- a/gcc/testsuite/gcc.dg/Wconversion-integer.c
+++ b/gcc/testsuite/gcc.dg/Wconversion-integer.c
@@ -2,7 +2,7 @@
These tests come from gcc/testsuite/gcc.dg/overflow-warn-2.c */
/* { dg-do compile } */
-/* { dg-options "-std=c99 -Wconversion" } */
+/* { dg-options "-std=c99 -fsigned-char -Wconversion" } */
#include <limits.h>