This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/69708] ipa inline not working for function reference in static const struct
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 May 2016 16:41:51 +0000
- Subject: [Bug ipa/69708] ipa inline not working for function reference in static const struct
- Auto-submitted: auto-generated
- References: <bug-69708-4 at http dot gcc dot gnu dot org/bugzilla/>
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