aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.h
diff options
context:
space:
mode:
authorGiuliano Belinassi <giuliano.belinassi@usp.br>2020-07-07 15:48:08 -0300
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-07-07 15:48:08 -0300
commit0db25c6846b063dbd3c140793b7aa246f02a1400 (patch)
treea3e214cda4f02fe03ca30afc518467f9b15f9c14 /gcc/fortran/trans-array.h
parentf7370689230ad58dbd0e99d4f9b5b5f0de487916 (diff)
downloadgcc-0db25c6846b063dbd3c140793b7aa246f02a1400.zip
gcc-0db25c6846b063dbd3c140793b7aa246f02a1400.tar.gz
gcc-0db25c6846b063dbd3c140793b7aa246f02a1400.tar.bz2
'Bootstrap' with promote statics
This commit manages to get promote statics to work so that stage3 compiler works, but it fails because of symbol randomization. To achive this, we had to disable the ipa-sra optimization, as it was generating incorrect code. gcc/ChangeLog: 2020-07-07 Giuliano Belinassi <giuliano.belinassi@usp.br> * cgraphunit.c (ipa_passes): Quick switch between promote statics and balance. * ipa-sra.c (gate): Disable it for split_outputs. * ipa.c (remove_unreachable_nodes): Force output vnodes are obviously needed. * lto-cgraph.c (lto_apply_partition_mask): use aux2 instead of aux, and mark nodes in the boundary to not be removed. * lto-partition.c (merge_comdat_nodes): Handle references. (balance_partitions): Avoid generating several small partitions. (merge_contained_symbols): New function. (lto_merge_comdat_map): Handle contained symbols. (lto_promote_cross_file_statics): Set promoted nodes to be non-local. * tree.c (filter_name): New function. (get_file_function_name): Filter buf so that it do not confuse ld.
Diffstat (limited to 'gcc/fortran/trans-array.h')
0 files changed, 0 insertions, 0 deletions