[Bug lto/82687] [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914
amodra at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 24 12:45:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687
--- Comment #2 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Tue Oct 24 12:45:01 2017
New Revision: 254042
URL: https://gcc.gnu.org/viewcvs?rev=254042&root=gcc&view=rev
Log:
PR82687, g++.dg/asan/default-options-1.C fails with PR82575 fix
The problem with making discarded symbols hidden is that the
non-default visibility is sticky. When symbols other than the
__gnu_lto ones are discarded that turns out to be a bad idea.
PR lto/82687
PR lto/82575
* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
Only make __gnu_lto symbols hidden. Delete outdated comment.
Silence ISO C warning.
Modified:
trunk/libiberty/ChangeLog
trunk/libiberty/simple-object-elf.c
More information about the Gcc-bugs
mailing list