Hi,

one more leak, this time in alias analysis that initializes an obstak
without freeing it.  This is with the testcase of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23821

valgrind --leak-check=full cc1 -O2 pr23821.c

==16661== 9,244 bytes in 68 blocks are definitely lost in loss record 2 of 5
==16661==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==16661==    by 0x8A3622D: xmalloc (xmalloc.c:147)
==16661==    by 0x409E785: _obstack_begin (in /lib/tls/i686/cmov/libc-2.3.6.so)
==16661==    by 0x8134D81: bitmap_obstack_initialize (bitmap.c:313)
==16661==    by 0x8582608: init_alias_info (tree-ssa-alias.c:2153)
==16661==    by 0x8580E6A: compute_may_aliases (tree-ssa-alias.c:1772)
==16661==    by 0x83DB396: execute_function_todo (passes.c:909)
==16661==    by 0x83DB058: do_per_function (passes.c:805)
==16661==    by 0x83DB632: execute_todo (passes.c:989)
==16661==    by 0x83DBABD: execute_one_pass (passes.c:1140)
==16661==    by 0x83DBB49: execute_pass_list (passes.c:1171)
==16661==    by 0x83DBB65: execute_pass_list (passes.c:1172)

Reply via email to