Commit 61917ebc by Tobias Burnus Committed by Tobias Burnus

parse.c (parse_contained): Include EXEC_END_PROCEDURE in ns->code to make sure…

parse.c (parse_contained): Include EXEC_END_PROCEDURE in ns->code to make sure the gfc_code is freed.

2012-08-21  Tobias Burnus  <burnus@net-b.de>

        * parse.c (parse_contained): Include EXEC_END_PROCEDURE
        in ns->code to make sure the gfc_code is freed.

From-SVN: r190575
parent 4b1b3788
2012-08-21 Tobias Burnus <burnus@net-b.de>
* parse.c (parse_contained): Include EXEC_END_PROCEDURE
in ns->code to make sure the gfc_code is freed.
2012-08-20 Tobias Burnus <burnus@net-b.de>
PR fortran/54301
......
......@@ -4075,6 +4075,7 @@ parse_contained (int module)
case ST_END_PROGRAM:
case ST_END_SUBROUTINE:
accept_statement (st);
gfc_current_ns->code = s1.head;
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment