Re: aliases without a _DECL?

2010-02-05 Thread Jan Hubicka
> 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 bin

Re: aliases without a _DECL?

2010-02-05 Thread Jason Merrill
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 compati

Re: aliases without a _DECL?

2010-02-05 Thread Jan Hubicka
Hi, I have no idea what you would like to achieve by this? I assume that you want to add aliases to given declaration without actually creating alias DECLs, just assembler symbol names. But without the DECLs there would be absolutely no way to reffer to these within current unit, so I guess cgrap

aliases without a _DECL?

2010-02-05 Thread Jason Merrill
To fix PR 12909 with minimal ABI breakage, I'd like to be able to just hang extra symbols off the cgraph node for a variable or function and have them all emitted together. I could do this with the existing alias mechanisms, but they involve additional DECLs for the aliases. Does it seem reas