--- Comment #9 from tobi at gcc dot gnu dot org 2009-03-29 19:38 ---
Fixed on trunk.
--
tobi at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGN
--- Comment #8 from tobi at gcc dot gnu dot org 2009-03-29 17:16 ---
Subject: Bug 38507
Author: tobi
Date: Sun Mar 29 17:15:48 2009
New Revision: 145245
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145245
Log:
fortran/
PR fortran/38507
* gfortran.h (gfc_st_label): Fix comment.
--- 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
--- 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.
--
tobi at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |tobi at gcc dot gnu dot org
|dot org
--- Comment #5 from tobi at gcc dot gnu dot org 2008-12-15 17:37 ---
According to your readings, is the following valid?
DO 10 I=1,10
IF (.TRUE.) THEN
10 END IF
END
--
tobi at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #4 from kargl at gcc dot gnu dot org 2008-12-12 22:58 ---
(In reply to comment #3)
> What is about the obsolescent DO related part? Do we need to do
> something there
> (from F95, B.2):
>
> "Shared DO termination and termination on a statement other than END DO or
> CONTINUE
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-12 22:28 ---
What is about the obsolescent DO related part? Do we need to do something there
(from F95, B.2):
"Shared DO termination and termination on a statement other than END DO or
CONTINUE use an END DO or a CONTINUE state
--- Comment #2 from kargl at gcc dot gnu dot org 2008-12-12 20:07 ---
I have a semi-working patch for this. Harald's original problem is
easy to fix, but the branching into a IF block requires a little
more clean.
--
kargl at gcc dot gnu dot org changed:
What|Remove
--- Comment #1 from kargl at gcc dot gnu dot org 2008-12-12 17:42 ---
Not only do I agree that warning is bogus, I think we get it wrong even
with END IF. From Annex B,
(2) Branching to an END IF statement from outside its block.
In Fortran 77, and for consistency also in Fort
10 matches
Mail list logo