------- Comment #6 from kargl at gcc dot gnu dot org 2008-12-15 18:58 ------- (In reply to comment #5) > According to your readings, is the following valid? > DO 10 I=1,10 > IF (.TRUE.) THEN > 10 END IF > END >
See constraint C825, page 165 in F2003 and restriction R214 on page 11. The above is an nonblock do construction and the label must appear on an action-stmt. end-if is not listed among the action statements, so I would conclude the above is invalid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38507