[Bug c++/14230] [3.3/3.4/3.5 Regression] ICE in cp_expr_size

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 8 20:55:00 GMT 2004


------- Additional Comments From jason at gcc dot gnu dot org  2004-03-08 20:55 -------
I've reassigned this to Mark since I don't understand his reasoning for moving
away from cp_finish_decl, which I would expect to generate a copy constructor
call for this case, which would be one correct solution.  Another would be to
preserve the D temporary so that we can refer to the A subobject, though that
might not be desirable in cases where the subobject is only a small part of the
temporary.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jason at redhat dot com     |mmitchel at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14230



More information about the Gcc-bugs mailing list