[Bug fortran/31971] Simple Fortran code fails with ICE

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 18 06:05:00 GMT 2007



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2007-05-18 07:05 -------
I have Fedora 6 on x86-64.  Works OK here.  However, we have a leak.  From
valgrind:

==19184== 9,288 (1,264 direct, 8,024 indirect) bytes in 2 blocks are definitely
lost in loss record 4 of 9
==19184==    at 0x4A05879: malloc (vg_replace_malloc.c:149)
==19184==    by 0xA276F7: xmalloc (xmalloc.c:147)
==19184==    by 0x43B194: gfc_getmem (misc.c:38)
==19184==    by 0x45D269: gfc_get_namespace (symbol.c:1867)
==19184==    by 0x45D39C: gfc_symbol_init_2 (symbol.c:2666)
==19184==    by 0x43AE88: gfc_init_2 (misc.c:261)
==19184==    by 0x44656A: gfc_parse_file (parse.c:3184)
==19184==    by 0x4653AD: gfc_be_parse_file (f95-lang.c:303)
==19184==    by 0x681183: toplev_main (toplev.c:1051)
==19184==    by 0x35E2A1DA43: (below main) (in /lib64/libc-2.5.so)
==19184== 
==19184== LEAK SUMMARY:
==19184==    definitely lost: 1,264 bytes in 2 blocks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31971



More information about the Gcc-bugs mailing list