summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wconversion-integer.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-23 17:14:27 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-23 17:14:27 +0000
commit3fee9a699ced8673fdddf7adb766686fe5b69d5c (patch)
tree1bd60315cdebd2b26ebe8aeecf9ac37d57f3b68a /gcc/testsuite/gcc.dg/Wconversion-integer.c
parentf235634ef6036881a67248947303aea402190554 (diff)
downloadgcc-3fee9a699ced8673fdddf7adb766686fe5b69d5c.tar.gz
2010-04-23 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.c (general_init): Set default for fdiagnostics-show-option. * opts.c (common_handle_option): Allow disabling it. * common.opt (fdiagnostics-show-option): Add Var. Enabled by default. testsuite/ * gcc.dg/Wconversion-integer.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wconversion-integer.c')
-rw-r--r--gcc/testsuite/gcc.dg/Wconversion-integer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/Wconversion-integer.c b/gcc/testsuite/gcc.dg/Wconversion-integer.c
index b2101076f93..d50b155699b 100644
--- a/gcc/testsuite/gcc.dg/Wconversion-integer.c
+++ b/gcc/testsuite/gcc.dg/Wconversion-integer.c
@@ -40,9 +40,9 @@ void h (int x)
fuc ('A');
uc = 'A';
- uc = x ? 1U : -1; /* { dg-warning "conversion" } */
+ uc = x ? 1U : -1; /* { dg-warning " conversion" } */
/* { dg-warning "negative integer implicitly converted to unsigned type" "" { target *-*-* } 43 } */
- uc = x ? SCHAR_MIN : 1U; /* { dg-warning "conversion" } */
+ uc = x ? SCHAR_MIN : 1U; /* { dg-warning " conversion" } */
/* { dg-warning "negative integer implicitly converted to unsigned type" "" { target *-*-* } 45 } */
uc = x ? 1 : -1; /* { dg-warning "negative integer implicitly converted to unsigned type" } */
uc = x ? SCHAR_MIN : 1; /* { dg-warning "negative integer implicitly converted to unsigned type" } */