[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2012-08-25 19:50:30 UTC --- Clang and EDG accept the reduced testcase, but every GCC I tried back to 4.1.2 rejects it, with a different error for 4.1.2: r.cc:10: error: ambiguous

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||jason at

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-08-25 20:18:41 UTC --- Ah, I only tried Comeau online - which doesn't link of course.

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 --- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com 2012-08-25 20:25:09 UTC --- Comeau rejects it for me, the problem happens at compile time.

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2012-08-25 20:34:22 UTC --- (In reply to comment #5) Comeau rejects it for me, the problem happens at compile time. Huh, so it does, I must have pasted the wrong code last time I tried

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com 2012-08-25 20:38:51 UTC --- I see. Thanks for the clang data point, anyway! Now we have to figure out which compiler is right and then decide what we want to do for GCC and its

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse at gcc dot

[Bug c++/54376] incorrect complaint about redefinition

2012-08-25 Thread drepper.fsp at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376 --- Comment #10 from Ulrich Drepper drepper.fsp at gmail dot com 2012-08-25 22:54:02 UTC --- Created attachment 28085 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28085 Avoid nested inlined friend functions This patch fixes the issue for