Const parameters are always unmodified
authorMartin Jambor <mjambor@suse.cz>
Wed, 18 May 2016 16:41:19 +0000 (18:41 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 18 May 2016 16:41:19 +0000 (18:41 +0200)
commit776e4fe2cacf85c639bbf98ffc49da0ea4d996b2
treeea0c61cf669bb09530b2c397848a1956446177e7
parent91bb9f80e58963d65a5cd305b438a2d7009cdb09
Const parameters are always unmodified

2016-05-18  Martin Jambor  <mjambor@suse.cz>

PR ipa/69708
* ipa-prop.c (parm_preserved_before_stmt_p): Return true for loads
from TREE_READONLY parameters.

From-SVN: r236417
gcc/ChangeLog
gcc/ipa-prop.c