This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19185] [3.3 only] ICE: cp_expr_size, at cp/cp-lang.c:308
- From: "danglin 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 Dec 2004 04:35:22 -0000
- Subject: [Bug c++/19185] [3.3 only] ICE: cp_expr_size, at cp/cp-lang.c:308
- References: <20041229023604.19185.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From danglin at gcc dot gnu dot org 2004-12-30 04:35 -------
FWIW, I'm able to duplicate with an x86 cross to vax-ultrix. It looks as if
the problem lies here:
/* If store_expr stores a DECL whose DECL_RTL(exp) == TARGET,
but TARGET is not valid memory reference, TEMP will differ
from TARGET although it is really the same location. */
&& (TREE_CODE_CLASS (TREE_CODE (exp)) != 'd'
|| target != DECL_RTL_IF_SET (exp))
/* If there's nothing to copy, don't bother. Don't call expr_size
unless necessary, because some front-ends (C++) expr_size-hook
aborts on objects that are not supposed to be bit-copied or
bit-initialized. */
&& expr_size (exp) != const0_rtx)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19185