This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/69708] ipa inline not working for function reference in static const struct


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]