This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: aliases without a _DECL?
> On 02/05/2010 05:56 PM, Jan Hubicka wrote:
>> But without the DECLs there would be absolutely no way to reffer to these
>> within current unit, so I guess cgraph don't need to care about them much
>> (i.e. they can just be some list assigned to node or decl).
>
> Right, they would just be for binary compatibility.
>
>> But then I don't see how this will work with LTO, so it seems that creating
>> real aliases should work better?
>
> Yeah, I suppose it's a rare enough issue that I might as well use the
> normal process.
Java is producing aliases for pretty much everything, so the normal process
should be ready to scale to quite few aliases ;)
Honza
>
> Jason