https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jamborm at gcc dot 
gnu.org

--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Yes, IPA-SRA removes the parameter because we do bunch of computations
on them but never store the result anywhere nor pass it to another
function.  The problem is that the modulo operation survives the
compilation even though its result is not stored anywhere (which
somewhat surprises me, I must say).

I'll figure out why tree-ssa-dce refuses to remove it and see if I can
employ a similar logic in IPA-SRA.

Reply via email to