------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-25 22:03 ------- : Search converges between 2004-06-27-trunk (#473) and 2004-06-28-trunk (#474). : Search converges between 2004-06-28-3.4 (#11) and 2004-06-29-3.4 (#12).
With the comeau online C++ compiler I get the following error: "ComeauTest.c", line 8: error: "DisplayString::DisplayString(DisplayString &)", required for copy that was eliminated, is not callable because reference parameter cannot be bound to rvalue DisplayString a = "%g"; ^ which is correct. and the reason why this is not valid code is because the "copy" construtor requires a lvalue and we don't have a lvalue here but a rvalue. -- What |Removed |Added ---------------------------------------------------------------------------- Known to work|3.3.5 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18677