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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Jorn Wolfgang Rennecke from comment #8)
> The idea of a function is that there can be multiple callers, using
> different actual arguments, thus you shoud pick one formal argument type
> for each argument, and stick with it for all callers and the callee.
> The formal argument type determines how the argument is passed.

Well, currently that is not the case (and that has nothing to do with
IPA-SRA or any other optimization).  If you think that is a mistake,
feel free to submit a patch fixing the type parameter of the call to
targetm.calls.function_arg in initialize_argument_information (and
possibly elsewhere) in calls.c.

Meanwhile, the reported issue should now be considered fixed.

Reply via email to