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: darwin.c identifier-smashing


Andrew Pinski wrote:

Geoff, Mike --

There's some quadratic behavior in darwin.c that needs fixing.



Most of these can be fixed by using SYMBOL_REF_FLAGS instead of symbol name munging, but nobody has ever got it right.

RTH tried to change it about a year or so ago but it would seg fault on
right away.

I have a small speedup which checks the string lengths but I got it wrong
somehow.


Possibly because the evil mutation of IDENTIFIER_POINTER means that the IDENTIFIER_LENGTH is no longer valid?

See <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02029.html>, the reason
why I have not applied them yet is because one of those three break bootstrap
in libstdc++.


Do you have any interest in extracting the bits from Mike's patch?

Thanks,

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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