------- Comment #5 from rguenth at gcc dot gnu dot org 2008-02-10 23:01 ------- I can confirm the ICE on i686 with -m64 (the reduced testcase doesn't fail with -m32 on i686 for me). Adding any optimization flag makes the ICE go away (thus, non-SSA inlining ICEs).
/* We have missing edge in the callgraph. This can happen in one case where previous inlining turned indirect call into direct call by constant propagating arguments. In all other cases we hit a bug (incorrect node sharing is most common reason for missing edges. */ gcc_assert (dest->needed || !flag_unit_at_a_time); more reduction is necessary here. I also think this is a minor issue due to the fact it only triggers at -O0 with inlining. Works for me with 4.2.3. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Component|c++ |middle-end Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Known to work| |4.2.3 Priority|P3 |P2 Last reconfirmed|0000-00-00 00:00:00 |2008-02-10 23:01:45 date| | Summary|ICE: in expand_call_inline, |[4.3 Regression] ICE: in |at tree-inline.c:2653 |expand_call_inline, at tree- | |inline.c:2653 Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35149