This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]