[PATCH] Fix noreorder symbol partitioning reversion.
Martin Liška
mliska@suse.cz
Thu Jan 16 21:46:00 GMT 2020
Hi.
The patch is fixes a regression in libgcrypt package where
we incorrectly forget to stream out a definition of a no-reorder symbol.
It's caused by LTO balanced map reversion, where we do not revert
also best_noreorder_pos.
It's pre-approved patch by Honza and I'm going to install it.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Thanks,
Martin
gcc/lto/ChangeLog:
2020-01-16 Martin Liska <mliska@suse.cz>
* lto-partition.c (lto_balanced_map): Remember
best_noreorder_pos and then restore to it
when we revert.
---
gcc/lto/lto-partition.c | 3 +++
1 file changed, 3 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-noreorder-symbol-partitioning-reversion.patch
Type: text/x-patch
Size: 1128 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20200116/28d33b63/attachment.bin>
More information about the Gcc-patches
mailing list