diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-29 09:15:30 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-29 09:15:30 +0000 |
commit | c19c39d2a06780c4a4f74d4674a000e85be6865d (patch) | |
tree | 531cf07980a1939c79f981c18ce9c2c5fe53acbc /gcc/opts.c | |
parent | 380b865ea0713502119ee2fe863338c71950e920 (diff) |
2012-04-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
* opts.c (finish_options): Do not handle -Wmissing-noreturn here.
* common.opt (Wmissing-noreturn): Alias of -Wsuggest-attribute=noreturn.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@186943 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index ab2de8fbcd1..22c7590f1bd 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -667,10 +667,6 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, if (opts->x_flag_tm && opts->x_flag_non_call_exceptions) sorry ("transactional memory is not supported with non-call exceptions"); - /* -Wmissing-noreturn is alias for -Wsuggest-attribute=noreturn. */ - if (opts->x_warn_missing_noreturn) - opts->x_warn_suggest_attribute_noreturn = true; - /* Unless the user has asked for section anchors, we disable toplevel reordering at -O0 to disable transformations that might be surprising to end users and to get -fno-toplevel-reorder tested. */ |