This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31537] duplicate weakref emitted with IMA
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 21:07:48 -0000
- Subject: [Bug c/31537] duplicate weakref emitted with IMA
- References: <bug-31537-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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