[Bug tree-optimization/32705] [4.3 regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 13 14:37:00 GMT 2007



------- Comment #7 from ebotcazou at gcc dot gnu dot org  2007-07-13 14:37 -------
> Does this function have cfun->static_chain_decl being used, and we
> have a copy of that here?

No, it's a toplevel function.

> It is theoretically safe to call set_ssa_to_val with to == vn_top, but
> it's probably a bug somewhere, and i'd rather eliminate the bug cases
> before turning it off.

visit_phi is called on a PHI node with 1 argument (shrinked by DOM):

  # NMT.152_89(ab) = PHI <NMT.152_264(ab)(22)>

and the SSA_VAL of NMT.152_264 is VN_TOP.


-- 


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



More information about the Gcc-bugs mailing list