------- Comment #16 from paolo dot carlini at oracle dot com 2009-04-27 17:10 ------- And, by the way, as regards my Comment #6, which really was about your case 1 in the first testcase, I confirm GCC is already fine: a is always treated as an lvalue in the body of the function. Also, the test is malformed for other reasons, there is no constructor possibly accepting a as argument.
I'm also renaming the summary. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-invalid-code Last reconfirmed|0000-00-00 00:00:00 |2009-04-27 17:10:57 date| | Summary|[C++0x] rvalue references |[C++0x] ICE in | |build_init_list_var_init http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923