Checking cc1plus with purify : MLK in identify_blocks [function.c:5008]

Laurent Bonnaud bonnaud@irisa.fr
Wed Feb 18 06:00:00 GMT 1998


About, those purify reports, i forgot to say that i tested the
egcs-980214 snapshot.

    MLK: 15984 bytes leaked in 278 blocks
         This memory was allocated from:
               malloc         [rtlib.o]
               xmalloc        [toplev.c:1931]
               identify_blocks [function.c:5008]
                      return 0;
                  
                    n_blocks = all_blocks (block, 0);
               =>   block_vector = (tree *) xmalloc (n_blocks * sizeof (tree));
                    block_stack = (int *) alloca (n_blocks * sizeof (int));
                  
                    all_blocks (block, block_vector);
               find_loop_tree_blocks [stmt.c:5709]
               loop_optimize  [loop.c:507]
               rest_of_compilation [toplev.c:3289]

-- 
Laurent.



More information about the Gcc-bugs mailing list