This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR59295 -- move redundant friend decl warning under -Wredundant-decls
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>, Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Fabien Chêne <fabien dot chene at gmail dot com>, drheld at google dot com
- Date: Fri, 11 Apr 2014 18:22:32 +0200
- Subject: Re: [patch] Fix PR59295 -- move redundant friend decl warning under -Wredundant-decls
- Authentication-results: sourceware.org; auth=none
- References: <ye6qk3bn7ci8 dot fsf at elbrus2 dot mtv dot corp dot google dot com> <CALoOobNtrzCT_L+Sz6wQiV7rRvq6hCHZPUnyjBAoQznZKXK0Bw at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Apr 11, 2014 at 09:20:13AM -0700, Paul Pluzhnikov wrote:
> > To fix PR59295, this patch moves (generally useless) warning about
> > repeated / redundant friend declarations under -Wredundant-decls.
> >
> > Tested on Linux/x86_64 with no regressions.
> >
> > Ok for trunk once it opens in stage 1?
>
> Which has just happened.
CCing Jason as C++ maintainer.
> > 2014-03-21 Paul Pluzhnikov <ppluzhnikov@google.com>
> >
> > PR c++/59295
> > * gcc/cp/friend.c (add_friend, make_friend_class): Move repeated
> > friend warning under Wredundant_decls.
No gcc/cp/ prefix in the ChangeLog entry.
Jakub