On 05/12/2016 10:08 AM, Martin Jambor wrote:
Hi,

this patch simply makes parm_preserved_before_stmt_p consider all
const PARM_DECLs constant and does not invoke AA walking on them
(really the DECLs themselves, not the memory they might point to).

Bootstrapped and lto-bootstrapped and tested on x86_64-linux.  OK for
trunk?

Thanks,

Martin


2016-05-10  Martin Jambor  <mjam...@suse.cz>

        * ipa-prop.c (parm_preserved_before_stmt_p): Return true for loads
        from TREE_READONLY parameters.
Seems like a good idea irrespective of the other patches in this series.

OK for the trunk. Is this related to 69708, if so you might want to add that marker to the ChangeLog entry.


jeff

Reply via email to