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: enable-build-with-cxx bootstrap compare broken by r149964


On 08/15/2009 10:12 AM, Jerry Quinn wrote:
Bootstrap comparison failure!
>[...]
         (write_nested_name): Add a fake anonymous namespace scope if
true.

What I assume is going on here is that use of anonymous namespaces can break bitwise comparison, because get_file_function_name uses a random number if it doesn't know a non-weak symbol to use in the name.


One thing that would help would be to defer all mangling, or at least all mangling that depends on the anonymous namespace name, until end of file so that first_global_object_name is usually set.

I'm not sure why GCC sources would need to mangle function-local structs, though.

Jason


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