------- Comment #7 from tobi at gcc dot gnu dot org 2008-12-15 19:16 ------- (In reply to comment #6) > (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. >
Thanks, I had missed the action-stmt requirement. I think I know how to fix this, then. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38507