This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/25252] ICE on invalid code



------- Comment #10 from dfranke at gcc dot gnu dot org  2007-05-21 20:16 -------
The testcase of comment #7 seen through valgrind:

pr25252.f90:3.26:

    module procedure X, Y,
                         1
Error: Syntax error in MODULE PROCEDURE statement at (1)
==12169== Invalid read of size 2
==12169==    at 0x80660ED: check_interface0 (interface.c:945)
==12169==  Address 0x42121AA is 34 bytes inside a block of size 128 free'd
==12169==    at 0x402119F: free (vg_replace_malloc.c:233)
==12169==    by 0x80A4D9A: gfc_undo_symbols (symbol.c:2359)

[more to follow]

This is indeed similar to PR18923, as pointed out in comment #9.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]