r236418 - in /trunk/gcc: ChangeLog ipa-cp.c ipa...
jamborm@gcc.gnu.org
jamborm@gcc.gnu.org
Wed May 18 16:44:00 GMT 2016
Author: jamborm
Date: Wed May 18 16:44:08 2016
New Revision: 236418
URL: https://gcc.gnu.org/viewcvs?rev=236418&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/ipa/iinline-cstagg-2.c
trunk/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-5.c
trunk/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-6.c
trunk/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-7.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-cp.c
trunk/gcc/ipa-prop.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list