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++/19185] [3.3 only] ICE: cp_expr_size, at cp/cp-lang.c:308


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


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