This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14230] [3.3/3.4/3.5 Regression] ICE in cp_expr_size
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2004 20:55:09 -0000
- Subject: [Bug c++/14230] [3.3/3.4/3.5 Regression] ICE in cp_expr_size
- References: <20040221001620.14230.jakub@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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