This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: PATCH: PR c++/40075: deprecated("xxx") doesn't work on function parameter
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, jason at redhat dot com
- Date: Fri, 8 May 2009 16:18:26 -0700
- Subject: Re: RFC: PATCH: PR c++/40075: deprecated("xxx") doesn't work on function parameter
- References: <20090508231605.GA17627@lucon.org>
On Fri, May 8, 2009 at 4:16 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> cp_parser_parameter_declaration_list supresses deprecated("xxx") so
> that deprecated("xxx") doesn't work on function parameter in C++. This
> This patch reverts the part of
>
> http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00645.html
>
> which will make C and C++ compilers behave the same. I don't know which
> behavior is preferred.
The C++ behavior from reading http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31367.
Thanks,
Andrew Pinski