aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/cpp.h
diff options
context:
space:
mode:
authorGiuliano Belinassi <giuliano.belinassi@usp.br>2020-06-03 17:27:03 -0300
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-06-03 17:27:03 -0300
commit7e9bf3c8deb2aa23e435be7b0271770b4720b281 (patch)
tree0f99d0e73f4d33adfb1f778eda376854c8104ac6 /gcc/fortran/cpp.h
parent1b05b4153a8c6f6fad1457ba15440825151cc51c (diff)
downloadgcc-7e9bf3c8deb2aa23e435be7b0271770b4720b281.zip
gcc-7e9bf3c8deb2aa23e435be7b0271770b4720b281.tar.gz
gcc-7e9bf3c8deb2aa23e435be7b0271770b4720b281.tar.bz2
Manage to compile some programs
Finally, manage to compile some programs. Here we merge lto-partition to the compiler, correctly updates used_from_other_partition, and release function bodies of functions that will not be used anymore. We still are running the compilation serially for testing, but we are forking and applying the partition mask correctly. There is a bug when symbols of distinct CU collide when linking for now. gcc/ChangeLog 2020-06-03 Giuliano Belinassi <giuliano.belinassi@usp.br> * cgraph.c: (release_function_body): Reinsert dom_info_available_p check. * cgraphunit.c (ipa_passes): Check for split_outputs, correctly check for variable usage from other partitions, and handle the additional assembler file correctly. * gcc.c (get_file_by_lines): Returns file existence. Fix double free. (append_file_outputs): Add -fPIE when -c is provided, and quickly returns if additional asm file not found. (maybe_run_linker): Check if split outputs case by checking temp_object_files length equals zero. * ipa-visibility.c (localize_node): Reinsert assertion check. * lto-cgraph.c (maybe_release_function_dominators): New. (lto_apply_partition_mask): Release data not required anymore. * lto-partition.c (lto_promote_corss_file_statics): Reinsert assertion check. (lto_check_usage_from_other_partitions): New. * lto-partition.h (lto_check_usage_from_other_partitions): Declare. gcc/lto/ChangeLog 2020-06-03 Giuliano Belinassi <giuliano.belinassi@usp.br> * lto-partition.c: Remove. * Make-lang.in: Remove lto-partition.o.
Diffstat (limited to 'gcc/fortran/cpp.h')
0 files changed, 0 insertions, 0 deletions