diff options
author | Martin Jambor <mjambor@suse.cz> | 2016-05-18 18:44:08 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2016-05-18 18:44:08 +0200 |
commit | 04643334f9769263db3a2f71956876886ef6cdd5 (patch) | |
tree | 1276e4f905c6f856a6887cb3e4bc04c542e58392 /gcc/function.c | |
parent | 776e4fe2cacf85c639bbf98ffc49da0ea4d996b2 (diff) | |
download | gcc-04643334f9769263db3a2f71956876886ef6cdd5.zip gcc-04643334f9769263db3a2f71956876886ef6cdd5.tar.gz gcc-04643334f9769263db3a2f71956876886ef6cdd5.tar.bz2 |
Allow constant global VAR_DECLs in constant jump functions
2016-05-18 Martin Jambor <mjambor@suse.cz>
PR ipa/69708
* ipa-cp.c (ipa_get_jf_pass_through_result): Allow non-ip constant
input for NOP_EXPR pass-through functions.
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Allow
aggregate global constant VAR_DECLs in constant jump functions.
testsuite/
* gcc.dg/ipa/iinline-cstagg-2.c: New test.
* gcc.dg/ipa/ipcp-cstagg-5.c: Likewise.
* gcc.dg/ipa/ipcp-cstagg-6.c: Likewise.
* gcc.dg/ipa/ipcp-cstagg-7.c: Likewise.
From-SVN: r236418
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions