[Bug ipa/69708] ipa inline not working for function reference in static const struct
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 18 16:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708
--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Wed May 18 16:41:19 2016
New Revision: 236417
URL: https://gcc.gnu.org/viewcvs?rev=236417&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-prop.c
More information about the Gcc-bugs
mailing list