[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2016-04-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 --- Comment #7 from Martin Sebor --- I'm not an expert in this area but the approach seems reasonable to me. I didn't test it in 5.x but with 6.0, it doesn't make a difference because simple_cst_equal() cannot compare TREE_LISTs. Using

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2016-04-06 Thread gw.fossdev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 --- Comment #6 from Gert --- I forgot to mention: the patch is against 5.3.0.

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2016-04-06 Thread gw.fossdev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 Gert changed: What|Removed |Added CC||gw.fossdev at gmail dot com --- Comment #5 from

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2016-02-04 Thread wipedout at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 wipedout at yandex dot ru changed: What|Removed |Added CC||wipedout at yandex dot ru

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2014-08-15 Thread jj at chaosbits dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 Jesper Juhl jj at chaosbits dot net changed: What|Removed |Added CC||jj at chaosbits dot

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2014-08-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2009-02-12 Thread sebor at roguewave dot com
--- Comment #1 from sebor at roguewave dot com 2009-02-12 17:02 --- In addition, as the test case below shows, the warning is issued inconsistently between classes and functions, suggesting that the instance of the warning on the class declaration on line 2 might be a bug rather than a