aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2016-04-16 20:54:49 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2016-04-16 18:54:49 +0000
commitcc950f9882d404b66cecae04519bb42a3c13d7f3 (patch)
tree309f864360341cd70502972284de03b9c4215fe3 /gcc/tree-pass.h
parentf13fe18b5b4881a457c2176214349d322b61e187 (diff)
downloadgcc-cc950f9882d404b66cecae04519bb42a3c13d7f3.zip
gcc-cc950f9882d404b66cecae04519bb42a3c13d7f3.tar.gz
gcc-cc950f9882d404b66cecae04519bb42a3c13d7f3.tar.bz2
re PR c++/70018 (Possible issue around IPO and C++ comdats discovered as pure/const)
PR ipa/70018 * cgraph.c (cgraph_set_const_flag_1): Only set as pure if function does not bind to current def. * ipa-pure-const.c (worse_state): Add FROM and TO parameters; handle conservatively calls to functions that does not need to bind to current def. (check_call): Update call of worse_state. (ignore_edge_for_nothrow): Update. (ignore_edge_for_pure_const): Likewise. (propagate_pure_const): Update calls to worse_state. (skip_function_for_local_pure_const): Reformat comments. * g++.dg/ipa/pure-const-1.C: New testcase. * g++.dg/ipa/pure-const-2.C: New testcase. * g++.dg/ipa/pure-const-3.C: New testcase. From-SVN: r235065
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions