------- Additional Comments From jh at suse dot cz  2005-01-01 23:27 -------
Subject: Re:  [4.0 Regression] #pragma weak handling changes in 4.0.0

> 
> ------- Additional Comments From rth at gcc dot gnu dot org  2004-12-31 23:30 
> -------
> I think that this sort of thing *ought* to work.  How, exactly, to teach
> cgraph to make it happen is perhaps tricky...

OK, if I understand it right the main trickyness of this is the fact
that we no longer can get cgraph node from the identifier, right?

One possibility is to set TREE_SYMBOL_REFERENCED and teach cgraphunit to
walk all the nodes once after finalization and put them into the queue,
but it is particularly ugly and clash with Zack's plans on killing
TREE_SYMBOL_REFERENCED (in that case we can probably use just the hash
of string instead).
If no one sees better sollution, I will implement it...

Honza
> 
> -- 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>          AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
>                    |dot org                     |
>              Status|UNCONFIRMED                 |ASSIGNED
>      Ever Confirmed|                            |1
>    Last reconfirmed|0000-00-00 00:00:00         |2004-12-31 23:30:52
>                date|                            |
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19031
> 
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19031

Reply via email to