This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39554] -Wdisallowed-function-list fails when #including <algorithm>
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2009 17:29:04 -0000
- Subject: [Bug c++/39554] -Wdisallowed-function-list fails when #including <algorithm>
- References: <bug-39554-14505@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jakub at gcc dot gnu dot org 2009-03-28 17:29 -------
Subject: Bug 39554
Author: jakub
Date: Sat Mar 28 17:28:45 2009
New Revision: 145200
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145200
Log:
PR c++/39554
* opts.c (warning_disallowed_functions, warn_disallowed_functions,
warn_if_disallowed_function_p): Removed.
(common_handle_option): Don't handle OPT_Wdisallowed_function_list_.
* c-parser.c (c_parser_postfix_expression_after_primary): Don't call
warning_if_disallowed_function_p.
* flags.h (warn_if_disallowed_function_p,
warn_disallowed_functions): Removed.
* common.opt (Wdisallowed-function-list=): Removed.
* doc/invoke.texi (-Wdisallowed-function-list=): Removed.
* parser.c (cp_parser_postfix_expression): Don't call
warning_if_disallowed_function_p.
* gcc.dg/wdisallowed-functions-1.c: Removed.
* gcc.dg/wdisallowed-functions-2.c: Removed.
* gcc.dg/wdisallowed-functions-3.c: Removed.
* g++.dg/warn/Wdisallowed-functions-1.C: Removed.
* g++.dg/warn/Wdisallowed-functions-2.C: Removed.
* g++.dg/warn/Wdisallowed-functions-3.C: Removed.
Removed:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/warn/Wdisallowed-functions-1.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/warn/Wdisallowed-functions-2.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/warn/Wdisallowed-functions-3.C
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/wdisallowed-functions-1.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/wdisallowed-functions-2.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/wdisallowed-functions-3.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/c-parser.c
branches/gcc-4_4-branch/gcc/common.opt
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/parser.c
branches/gcc-4_4-branch/gcc/doc/invoke.texi
branches/gcc-4_4-branch/gcc/flags.h
branches/gcc-4_4-branch/gcc/opts.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39554