[Bug fortran/37992] [4.4 Regression] ICE segfault for "character(len=len(x)) :: foo,x"
mikael dot morin at tele2 dot fr
gcc-bugzilla@gcc.gnu.org
Sun Nov 2 17:51:00 GMT 2008
------- Comment #3 from mikael dot morin at tele2 dot fr 2008-11-02 17:50 -------
(In reply to comment #1)
> First valgrind error:
>
> ==21621== Invalid read of size 8
> ==21621== at 0x46AAEA: gfc_resolve_expr (resolve.c:4248)
> Second valgrind error:
>
> ==21621== Address 0x65b2ef8 is 40 bytes inside a block of size 56 free'd
> ==21621== at 0x4C243AF: free (in
> /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
> ==21621== by 0x482C6A: gfc_delete_symtree (symbol.c:2269)
Those are the same error (look carefully, the second one is indented).
The first part indicates where the error appears.
The second one precises the error (here access to a freed block) and where (in
this case) the free was.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37992
More information about the Gcc-bugs
mailing list