[Bug c/31537] duplicate weakref emitted with IMA
aldot at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 29 23:20:00 GMT 2008
------- Comment #9 from aldot at gcc dot gnu dot org 2008-01-29 21:07 -------
Created an attachment (id=15053)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15053&action=view)
patch in testing
This is a simple fix to adjust the respective vector (that get's
filled/finalized far too early, AFAICT; furthermore it's never pruned and if a
new target is added the alias is never rejected).
This patch warns -- conditionally, should most likely be a warning(0.. -- if
the target changes and adjust the vector accordingly.
Should a subsequent weakref to a new target invalidate the weak?
--
aldot at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #13363|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31537
More information about the Gcc-bugs
mailing list