[Bug fortran/52606] Confusing diagnostics for long identifiers

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 20 11:04:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52606

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-03-20 10:58:13 UTC ---
(In reply to comment #5)
> What was the motivation for this hashing scheme, BTW? Linkers already support
> 1) long symbol names (I read somewhere that OpenOffice has symbols up to 4000
> (!!!) characters long) 2) various symbol hashing schemes (see e.g.
> DT_GNU_HASH).

I think the idea was to have legible dumps (i.e. avoid hashing everything) but
also to fit them into the various  name[GFC_MAX_SYMBOL_LEN]  variables which
simply do not take longer names.

If you think one can/should improve the scheme, feel free to propose something
better. (Only) when switching to the new descriptor, we can change it.



More information about the Gcc-bugs mailing list