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/16461] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210


------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-07-09 21:21 -------

Confirmed.  The bug is in tree-tailcall.c:independent_of_stmt_p.  The loop that
looks up PHI arguments, ought to handle gimple_min_invariants it finds in PHI
operands.  It should not assume that they are all SSA_NAMEs.

Not quite sure what the right to do is here.  We are analyzing

ret_1 in statement T.2_6 = ret_1 + ret2_2;

and abort as soon as we get to the first operand of

# ret_1 = PHI <0(2), ret_11(1)>;


Jeff, IIRC you implemented this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |law at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


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


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