This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ipa-visibility TLC 2/n


Honza,

I'm glad that you're making progress.

> David, this looks like a bug in the AIX target output macros. I get:
>         .set _ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si.localalias.69,_ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si

> (this is correct since localalias is really an alias)

> _ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si.localalias.69:
>         .space 40
> _ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si:
...

> This is wrong, since we should not try to out the variable at least if I read AIX assembly correctly.

> varpool has explicit test to not output any aliases, so perhaps this is a bug in wrapup_globals
> and AIX output macros.  I will try to track more after my teaching tonight.

The AIX support handles AIX XCOFF assembler syntax and chooses
appropriate sections, but it would not choose to emit an extra
definition. If there are multiple definitions, then the varasm macros
are being invoked multiple times for the same symbol.


Thanks, David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]