https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107560

--- Comment #4 from anlauf at gcc dot gnu.org ---
The BOZ memleak should be fixed with r13-6857-g833233a4aefc99.

There is another FE memleak which is the same for z1.f90 and z2.f90:

==16805== 48 bytes in 1 blocks are definitely lost in loss record 19 of 674
==16805==    at 0x4C39571: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16805==    by 0x2120D94: xcalloc (xmalloc.c:164)
==16805==    by 0x9AB967: gfc_match_actual_arglist(int, gfc_actual_arglist**,
bool) (primary.cc:1870)
==16805==    by 0x9AFEA2: gfc_match_rvalue(gfc_expr**) (primary.cc:3695)
==16805==    by 0x95F6A6: match_primary(gfc_expr**) (matchexp.cc:157)
==16805==    by 0x95F7C3: match_level_1(gfc_expr**) (matchexp.cc:211)
==16805==    by 0x95F885: match_mult_operand(gfc_expr**) (matchexp.cc:267)
==16805==    by 0x95FA90: match_add_operand(gfc_expr**) (matchexp.cc:356)
==16805==    by 0x95FD50: match_level_2(gfc_expr**) (matchexp.cc:480)
==16805==    by 0x95FEE2: match_level_3(gfc_expr**) (matchexp.cc:551)
==16805==    by 0x95FFE6: match_level_4(gfc_expr**) (matchexp.cc:599)
==16805==    by 0x960279: match_and_operand(gfc_expr**) (matchexp.cc:693)

Reply via email to