-
- Downloads
c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers instead of OPT_Wreturn_type in...
ChangeLog: 2008-01-12 Doug Kwan <dougkwan@google.com> * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers instead of OPT_Wreturn_type in warning due to ignored return type qualifiers. * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to options included in -Wextra. * c.opt: New option -Wignored_qualifiers. * doc/invoke.texi (Warning Options, -Wextra): Add new option -Wignore_qualifiers. (-Wignored-qualifiers): Document. (-Wreturn-type): Remove description of functionality now handled by -Wignored-qualifiers. cp/ChangeLog: 2008-01-12 Doug Kwan <dougkwan@google.com> * decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers instead of OPT_Wreturn_type in warning due to ignored return type qualifiers. * pt.c: (tsubst_function_type): Use OPT_Wignored_qualifiers instead of OPT_Wreturn_type in warning due to ignored return type qualifiers. testsuite/ChangeLog: 2008-01-12 Doug Kwan <dougkwan@google.com> * gcc.dg/qual-return-1.c: Add -Wignored-qualifiers. * g++.dg/warn/Wreturn-type-4.C: Replace -Wreturn-type by -Wignored-qualifiers. From-SVN: r131499
Showing
- gcc/ChangeLog 14 additions, 0 deletionsgcc/ChangeLog
- gcc/c-decl.c 1 addition, 1 deletiongcc/c-decl.c
- gcc/c-opts.c 3 additions, 1 deletiongcc/c-opts.c
- gcc/c.opt 4 additions, 0 deletionsgcc/c.opt
- gcc/cp/ChangeLog 9 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/decl.c 1 addition, 1 deletiongcc/cp/decl.c
- gcc/cp/pt.c 1 addition, 1 deletiongcc/cp/pt.c
- gcc/doc/invoke.texi 15 additions, 9 deletionsgcc/doc/invoke.texi
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/warn/Wreturn-type-4.C 1 addition, 1 deletiongcc/testsuite/g++.dg/warn/Wreturn-type-4.C
- gcc/testsuite/gcc.dg/qual-return-1.c 1 addition, 1 deletiongcc/testsuite/gcc.dg/qual-return-1.c
Loading
Please register or sign in to comment