diff options
author | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-07 19:06:02 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-07 19:06:02 -0300 |
commit | 542730f087133690b47e036dfd43eb0db8a650ce (patch) | |
tree | c5e4ebdaf8e6d41a52206c713f031117dce4ab87 /gcc/gcov-tool.c | |
parent | c3b38f65b51d043133e6e69a8ae3ae24534bcdfe (diff) | |
download | gcc-542730f087133690b47e036dfd43eb0db8a650ce.zip gcc-542730f087133690b47e036dfd43eb0db8a650ce.tar.gz gcc-542730f087133690b47e036dfd43eb0db8a650ce.tar.bz2 |
Fix bootstrap comparison failure
Previously, bootstrap comparison failed when promoting symbols to
global because:
1. Randomness was used for promotion.
2. Order matters when partial linking, and such order was also random.
This commit fixes those issues.
gcc/ChangeLog:
2020-08-07 Giuliano Belinasssi <giuliano.belinassi@usp.br>
* cgraphunit.c (childno): New variable.
(maybe_compile_in_parallel): Store current child number.
* gcc.c (sort_asm_files): New function.
* toplev.c (init_additional_asm_names_file): Output child number.
* toplev.h (init_additional_asm_names_file): Update interface.
* tree.c (get_file_function_name): Do not use randomness when
promoting names.
Diffstat (limited to 'gcc/gcov-tool.c')
0 files changed, 0 insertions, 0 deletions