This is the mail archive of the gcc-patches@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: [Patch, Fortran, OOP] PR 46971: [4.6 Regression] ICE on long class names


On Thursday 30 December 2010 18:05:15 Janus Weil wrote:
> So we just use this hash value (in hex representation) for the class
> container naming, e.g. "__class_12083EB", which guarantees to respect 
> the 63 character limit. These names are not user-visible, of course, 
> so this obfuscation's only negative effect may be in debugging the 
> internal class symbols. Therefore we keep the name constructed from 
> the old scheme if it is short enough, and only use the hash for those 
> cases where the 63 character limit is violated.

Hi Janus,

why not use the hash names everywhere and have a field "realname" next to the 
hash that holds the name, regardless of length?

Cheers

	Daniel


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