This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52606] Confusing diagnostics for long identifiers
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Mar 2012 10:58:13 +0000
- Subject: [Bug fortran/52606] Confusing diagnostics for long identifiers
- Auto-submitted: auto-generated
- References: <bug-52606-4@http.gcc.gnu.org/bugzilla/>
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.