[Bug c++/19185] [3.3 only] ICE: cp_expr_size, at cp/cp-lang.c:308

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 30 04:35:00 GMT 2004


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



More information about the Gcc-bugs mailing list