This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17729] [4.4/4.5/4.6/4.7 Regression] Duplicate __attribute__((deprecated)) warning
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Jan 2012 14:08:21 +0000
- Subject: [Bug c++/17729] [4.4/4.5/4.6/4.7 Regression] Duplicate __attribute__((deprecated)) warning
- Auto-submitted: auto-generated
- References: <bug-17729-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
--- Comment #20 from Iain Sandoe <iains at gcc dot gnu.org> 2012-01-23 14:08:21 UTC ---
(In reply to comment #19)
> Hi Iain, I'm not 100% sure to understand: did your patch in Comment #16 pass
> the testsuite? Did you get around to submit it?
The problem I was referring to is in making the test-suite harness detect the
presence of duplicate messages - and thus to making a test-case to prove that
the fix works.
==
I posted the patch
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01092.html
it was reviewed with the conclusion that the patch would not work in all cases,
there was some follow-up discussion and a follow-up patch (which is probably
mostly OK) in:
http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01516.html
... at that point I ran out of time for this particular issue - Jason made a
suggestion as to a new implementation but I've not had a chance to look at it.
It's quite hard to address because the check is called from different places.