Hi Harald,
Is the memory you allocate freed anywhere? We have a large
number of memory leaks in the front end, but maybe we shouldn't
add another one :-)
my reading of the definition of XALLOCAVEC
include/libiberty.h:#define XALLOCAVEC(T, N)((T *) alloca (sizeof (T) *
(N)))
and alloca(
Hi Thomas,
> Is the memory you allocate freed anywhere? We have a large
> number of memory leaks in the front end, but maybe we shouldn't
> add another one :-)
my reading of the definition of XALLOCAVEC
include/libiberty.h:#define XALLOCAVEC(T, N)((T *) alloca (sizeof (T) *
(N)))
and allo
Hi Harald,
here's another fix for a buffer overflow with long symbols.
Is the memory you allocate freed anywhere? We have a large
number of memory leaks in the front end, but maybe we shouldn't
add another one :-)
Best regards
Thomas
Dear all,
here's another fix for a buffer overflow with long symbols.
OK for master / backports?
Regtested on x86_64-pc-linux-gnu.
Thanks,
Harald
PR fortran/95826 - Buffer overflows with PDTs and long symbols
With PDTs (parameterized derived types), name mangling results in variably
long int