Re: [PATCH 2/3] Const parameters are always unmodified

2016-05-16 Thread Jeff Law
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

[PATCH 2/3] Const parameters are always unmodified

2016-05-12 Thread Martin Jambor
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