aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorGiuliano Belinassi <giuliano.belinassi@usp.br>2020-06-30 00:29:21 -0300
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-06-30 00:29:21 -0300
commitf17ad988fabb0adc9a1cd32904a98ccc3720f0b4 (patch)
tree4661fb912d5fe06eb8a9eb0ac88b4445179f6f19 /gcc/fortran/iresolve.c
parente778bf0fc6f0d6e15f81976b4fc461337ef63146 (diff)
downloadgcc-f17ad988fabb0adc9a1cd32904a98ccc3720f0b4.zip
gcc-f17ad988fabb0adc9a1cd32904a98ccc3720f0b4.tar.gz
gcc-f17ad988fabb0adc9a1cd32904a98ccc3720f0b4.tar.bz2
Better handle statics.
Previously, we merge any reference to static var or function. Now we are more careful by looking if it is publically available, and avoid merging partitions which have references to a non-static variable. 2020-06-30 Giuliano Belinassi <giuliano.belinassi@usp.br> * lto-cgraph.c (lto_apply_partition_mask): Avoid removal of nodes in partition. (maybe_release_function_dominators): Move from. * cgraph.c (maybe_release_dominators): To here. * ipa-visibility.c (localize_node): Skip assertion if split_outputs. * lto-partition.c (analyse_symbol_references): Merge partitions if reference to static varnode instead of any global. (promote_symbol): Correctly handle statics. (lto_max_no_alonevap_map): Remove quick returns. (privatize_symbol_name_1): Implement hashing of static names.
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions