https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61548
--- Comment #20 from tbsaunde at tbsaunde dot org --- > Created attachment 34673 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34673&action=edit > Proposed fix > > Ok, there seems to be 3 issues ;) First is that emutls does not resolve alias > after introducing it. Second is that we may end up removing alias target > before alias in ipa.c and third is that vaprool_node::remove actually removes > the reference before attempting to use it. > > I would welcome if someone tests this on one of the targets reproducing the > problem Well, the patch I sent did 1 and 3, and that fixed the crash, so I expect adding 2 won't really hurt, but I can test that theory tomorrow. Trev