[Bug c/90760] [8/9/10 Regression] ICE on attributes section and alias in set_section, at symtab.c:1573
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 28 22:10:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90760
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 28 22:10:04 2019
New Revision: 272800
URL: https://gcc.gnu.org/viewcvs?rev=272800&root=gcc&view=rev
Log:
Backported from mainline
2019-06-12 Jakub Jelinek <jakub@redhat.com>
PR c/90760
* symtab.c (symtab_node::set_section): Allow being called on aliases
as long as they aren't analyzed yet.
* gcc.dg/pr90760.c: New test.
Added:
branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr90760.c
Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/symtab.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list