Symbol name too long for class variable

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Wed Dec 15 21:03:00 GMT 2010


On 2010-12-15 21:24, Andrew Benson wrote:
> Internal Error at (1):
> new_symbol(): Symbol name too long

I guess that this (taken from trans.h)

/* Mangled symbols take the form __module__name.  */
#define GFC_MAX_MANGLED_SYMBOL_LEN  (GFC_MAX_SYMBOL_LEN*2+4)

doesn't take into account how classes are mangled, so as a stopgap 
measure you can just push that number to a higher value.

Cheers,
- Tobi



More information about the Fortran mailing list