This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Allow cgraph nodes to change name
Jan Hubicka <hubicka@ucw.cz> writes:
> Another alternative is that in fact I don't need the hashtables.
> Only what I use it for is to convert DECL nodes into cgraph nodes. The
> problem is that cgraph nodes are unique for function while DECL nodes
> are not, but perhaps frontends already have some capability of tracking
> this down. Do you think it would be possible to add a direct pointer
> into the nodes and track it down using it?
Er, DECL nodes are supposed to be unique for each function, aren't they?
zw