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 tree-optimization/32705] [4.3 regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022



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


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