This is the mail archive of the gcc@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: trunk: bootstrap comparison failure


Jan Hubicka <hubicka@ucw.cz> writes:

>> Jan Hubicka <hubicka@ucw.cz> writes:
>> 
>> > I think bootstrap with C++ or GO is broken for a while on targets not having ctor support, but now it broke
>> > on targets with ctor support as a result of my patch renaming some of the ctors from GLOBAL__I into GLOBAL__sub_I.
>> 
>> I didn't know you were making that change.  There are a several tools
>> which recognize _GLOBAL__ specially, including examining the next
>> character.  Have you updated the demangler?  Have you updated the GNU
>> linker--see ctor_prio in ld/ldlang.c?
>
> I changed name only for functions that are produced internally in GCC. These are functions
> that are not constructors, but are called from constructors called GLOBAL__I/GLOBAL__D as usually.
> Most of time they are inlined, but in some cases they don't.

It seems likely to cause confusion if these names wind up in the symbol
table.

Ian


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