From 94ee697923f5a93881edbc5e1b3f810b290f0fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Sun, 29 Apr 2012 09:15:30 +0000 Subject: opts.c (finish_options): Do not handle -Wmissing-noreturn here. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2012-04-29 Manuel López-Ibáñez * opts.c (finish_options): Do not handle -Wmissing-noreturn here. * common.opt (Wmissing-noreturn): Alias of -Wsuggest-attribute=noreturn. From-SVN: r186943 --- gcc/opts.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/opts.c') diff --git a/gcc/opts.c b/gcc/opts.c index ab2de8f..22c7590 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. */ -- cgit v1.1