diff options
author | Martin Liska <marxin@gcc.gnu.org> | 2019-10-30 07:55:39 +0000 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-10-30 07:55:39 +0000 |
commit | a62bfab5d2a332925fcf10c45b4c5d8ca499439d (patch) | |
tree | d0586bccd3e715429ba1c4df5ba680575950b1e7 /gcc/ipa-pure-const.c | |
parent | 53289de583e4dfab17ace7b39e102b04eba749e5 (diff) | |
download | gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.zip gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.tar.gz gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.tar.bz2 |
Remove cgraph_global_info.
From-SVN: r277600
Diffstat (limited to 'gcc/ipa-pure-const.c')
-rw-r--r-- | gcc/ipa-pure-const.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c index 4b2a79f..a142e0c 100644 --- a/gcc/ipa-pure-const.c +++ b/gcc/ipa-pure-const.c @@ -1678,7 +1678,7 @@ propagate_pure_const (void) /* Inline clones share declaration with their offline copies; do not modify their declarations since the offline copy may be different. */ - if (!w->global.inlined_to) + if (!w->inlined_to) switch (this_state) { case IPA_CONST: @@ -1839,7 +1839,7 @@ propagate_nothrow (void) /* Inline clones share declaration with their offline copies; do not modify their declarations since the offline copy may be different. */ - if (!w->global.inlined_to) + if (!w->inlined_to) { w->set_nothrow_flag (true); if (dump_file) @@ -1966,7 +1966,7 @@ propagate_malloc (void) funct_state l = funct_state_summaries->get (node); if (!node->alias && l->malloc_state == STATE_MALLOC - && !node->global.inlined_to) + && !node->inlined_to) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Function %s found to be malloc\n", |