[Bug fortran/44602] [F2008] EXIT: Jump to end of construct

2010-09-03 Thread domob at gcc dot gnu dot org
--- Comment #7 from domob at gcc dot gnu dot org 2010-09-03 08:04 --- Fixed. -- domob at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/44602] [F2008] EXIT: Jump to end of construct

2010-09-03 Thread domob at gcc dot gnu dot org
--- Comment #6 from domob at gcc dot gnu dot org 2010-09-03 08:02 --- Subject: Bug 44602 Author: domob Date: Fri Sep 3 08:01:51 2010 New Revision: 163798 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163798 Log: 2010-09-03 Daniel Kraft PR fortran/44602 * gf

[Bug fortran/44602] [F2008] EXIT: Jump to end of construct

2010-08-30 Thread domob at gcc dot gnu dot org
--- Comment #5 from domob at gcc dot gnu dot org 2010-08-30 18:27 --- Experimental patch here: http://gcc.gnu.org/ml/fortran/2010-08/msg00456.html It seems to do what it is supposed to (basically) and also runs the full test-case of PR 44709 comment 0, but there seems to be at least one

[Bug fortran/44602] [F2008] EXIT: Jump to end of construct

2010-08-30 Thread domob at gcc dot gnu dot org
--- Comment #4 from domob at gcc dot gnu dot org 2010-08-30 12:07 --- Mine. -- domob at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at

[Bug fortran/44602] [F2008] EXIT: Jump to end of construct

2010-07-23 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-07-23 08:55 --- PR 44709 comment 0 contains a small test case, which also applies here. (That PR fixed "exit loop_label" in BLOCK and try-finally cleanup in BLOCK.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44602

[Bug fortran/44602] [F2008] EXIT: Jump to end of construct

2010-06-21 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-06-21 07:41 --- +else if (sym == p->sym) One should check that this does the right thing for do block exit end block end do as this should leave the DO construct and not only the BLOCK construct (to be compatib

[Bug fortran/44602] [F2008] EXIT: Jump to end of construct

2010-06-20 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-06-20 20:52 --- See below for a match.c patch. However, it will fail as the labels are not available. In principle, one just needs to add: tree exit_label; /* The exit label. */ exit_label = gfc_build_label_decl (NULL_TREE);