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 c++/14230] [3.3/3.4/3.5 Regression] ICE in cp_expr_size


------- Additional Comments From jason at redhat dot com  2004-03-02 21:05 -------
Subject: Re:  [3.3/3.4/3.5 Regression] ICE in cp_expr_size

Actually, this seems to be a problem with Mark's fix for 11041; using an
INIT_EXPR to initialize a temporary variable from a non-lvalue only elides
the copy if the non-lvalue is a TARGET_EXPR.  In this case, it's a
COMPONENT_REF of a TARGET_EXPR, so the INIT_EXPR becomes a bitwise copy, so
cp_expr_size aborts.

Jason


-- 


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


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