[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 --- Comment #3 from Daniel Krügler 2012-06-10 21:11:41 UTC --- This does not look like a compiler defect to me. Z::n has never been defined but is odr-used.

[Bug c++/53627] perfect forwarding for static int member

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

[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 --- Comment #5 from Daniel Krügler 2012-06-10 21:26:27 UTC --- (In reply to comment #4) > (In reply to comment #2) > > This is exactly: > > > > http://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition > > I agree. But let me

[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 --- Comment #6 from Jonathan Wakely 2012-06-10 21:37:38 UTC --- I've updated the wiki with words to that effect

[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 --- Comment #7 from Jonathan Wakely 2012-06-10 21:50:18 UTC --- (In reply to comment #4) > because that was fixed with C++11 due to > > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#712 > > This situation should no longer requir

[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 --- Comment #8 from Daniel Krügler 2012-06-11 06:47:42 UTC --- (In reply to comment #7) > (In reply to comment #4) > > because that was fixed with C++11 due to > > > > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#712 > > > > Th

[Bug c++/53627] perfect forwarding for static int member

2012-06-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627 --- Comment #8 from Daniel Krügler 2012-06-11 06:47:42 UTC --- (In reply to comment #7) > (In reply to comment #4) > > because that was fixed with C++11 due to > > > > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#712 > > > > Th