This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32705] [4.3 regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2007 14:37:11 -0000
- Subject: [Bug tree-optimization/32705] [4.3 regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022
- References: <bug-32705-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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