[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2015-04-30 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|paolo.carlini at oracle dot com|

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2015-04-30 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2015-04-30 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 --- Comment #13 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Thu Apr 30 09:43:39 2015 New Revision: 222615 URL: https://gcc.gnu.org/viewcvs?rev=222615root=gccview=rev Log: 2015-04-30 Paolo Carlini

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2014-11-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2014-10-20 Thread kariya_mitsuru at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 Mitsuru Kariya kariya_mitsuru at hotmail dot com changed: What|Removed |Added CC|

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2013-08-23 Thread hstong at ca dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 Hubert Tong hstong at ca dot ibm.com changed: What|Removed |Added CC||hstong at ca dot

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2013-08-23 Thread hstong at ca dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 --- Comment #9 from Hubert Tong hstong at ca dot ibm.com --- CWG 1604 may address the issues with performance and slicing mentioned in CWG 1287 which led to CWG 1650.

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2013-06-14 Thread o_kniemeyer at maxon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 Ole Kniemeyer o_kniemeyer at maxon dot net changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2013-06-14 Thread o_kniemeyer at maxon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 --- Comment #4 from Ole Kniemeyer o_kniemeyer at maxon dot net --- As I commented in the cpp example, the C++11 standard shows exactly this example in sections 8.5.3. So this is definitely a bug according to C++11. I think the GCC behaviour is

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2013-06-14 Thread o_kniemeyer at maxon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 --- Comment #5 from Ole Kniemeyer o_kniemeyer at maxon dot net --- Ops, sorry, of course I meant ... to older C++ standards.

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

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

[Bug c++/57610] Reference initialized with temporary instead of sub-object of conversion result

2013-06-14 Thread o_kniemeyer at maxon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57610 --- Comment #7 from Ole Kniemeyer o_kniemeyer at maxon dot net --- OK, thanks for your comments. I wasn't aware of the ongoing discussion about this issue (I was referring to the the draft version N3376 of the C++11 standard). A B-copy would be