summaryrefslogtreecommitdiff
path: root/gcc/opts-global.c
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-22 19:11:49 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-22 19:11:49 +0000
commit68ebb06f1234d117142dd0badf2b08cfdad83630 (patch)
tree2350312e2c663ac6de07288fc6b7ee097866a82b /gcc/opts-global.c
parent19d861b9ef541120d660730921101a4048b302f5 (diff)
downloadgcc-68ebb06f1234d117142dd0badf2b08cfdad83630.tar.gz
Proper handling of -Werror=coverage-mismatch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts-global.c')
-rw-r--r--gcc/opts-global.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/opts-global.c b/gcc/opts-global.c
index 71c428e9b6b..1134e3a2745 100644
--- a/gcc/opts-global.c
+++ b/gcc/opts-global.c
@@ -310,11 +310,6 @@ decode_options (struct gcc_options *opts, struct gcc_options *opts_set,
set_default_handlers (&handlers);
- /* Enable -Werror=coverage-mismatch by default. */
- control_warning_option (OPT_Wcoverage_mismatch, (int) DK_ERROR, true,
- loc, lang_mask,
- &handlers, opts, opts_set, dc);
-
default_options_optimization (opts, opts_set,
decoded_options, decoded_options_count,
loc, lang_mask, &handlers, dc);