This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2006 18:31:26 -0000
- Subject: [Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101
- References: <bug-30017-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from pinskia at gcc dot gnu dot org 2006-11-30 18:31 -------
(In reply to comment #12)
> The code has not undefined behavior, but I think removing the check is ok (it's
> certainly not supposed to trigger _inside_ the assignment operator or the
> copy constructor).
Actually I don't think removing that check is ok. Allows us to find problems
with the gimplifier, when it is trying to create a temprorary variable when it
should not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30017