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 <ja...@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