------- Comment #2 from mmitchel at gcc dot gnu dot org 2006-06-06 22:04 ------- The code is indeed invalid. (There's no copy constructor for A that accepts a volatile A as input, but the conceptual expression is an rvalue, so we have to (conceptually) create a temporary.)
-- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW |ASSIGNED Keywords|ice-on-valid-code |ice-on-invalid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27666