https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61548

--- Comment #17 from Jan Hubicka <hubicka at gcc dot gnu.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

Reply via email to