public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31471]  New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL
@ 2007-04-04 16:36 michael dot a dot richmond at nasa dot gov
  2007-04-04 16:39 ` [Bug fortran/31471] " burnus at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2007-04-04 16:36 UTC (permalink / raw)
  To: gcc-bugs

In the following program FORALL is labeled and END FORALL is unlabeled, but
gfortran accepts it:

PROGRAM test200
DIMENSION j(2)
label:FORALL (i = 1:2)
  j(i) = 0
END FORALL
END PROGRAM test200


-- 
           Summary: gfortran does not detect a labeled FORALL with an
                    unlabeled END FORALL
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31471


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL
  2007-04-04 16:36 [Bug fortran/31471] New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL michael dot a dot richmond at nasa dot gov
@ 2007-04-04 16:39 ` burnus at gcc dot gnu dot org
  2007-04-04 16:41 ` burnus at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-04-04 16:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2007-04-04 17:39 -------
Confirm. If one uses DO or uses a wrong label, gfortran works correctly.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2007-04-04 17:39:07
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31471


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL
  2007-04-04 16:36 [Bug fortran/31471] New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL michael dot a dot richmond at nasa dot gov
  2007-04-04 16:39 ` [Bug fortran/31471] " burnus at gcc dot gnu dot org
@ 2007-04-04 16:41 ` burnus at gcc dot gnu dot org
  2007-04-07 15:49 ` tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-04-04 16:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2007-04-04 17:41 -------
C732 (R758) If the forall-construct-stmt has a forall-construct-name, the
end-forall-stmt shall have the same forall-construct-name. If the
end-forall-stmt has a forall-construct-name, the forall-construct-stmt shall
have the same forall-construct-name.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31471


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL
  2007-04-04 16:36 [Bug fortran/31471] New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL michael dot a dot richmond at nasa dot gov
  2007-04-04 16:39 ` [Bug fortran/31471] " burnus at gcc dot gnu dot org
  2007-04-04 16:41 ` burnus at gcc dot gnu dot org
@ 2007-04-07 15:49 ` tobi at gcc dot gnu dot org
  2007-04-12 17:10 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-04-07 15:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tobi at gcc dot gnu dot org  2007-04-07 16:49 -------
I'll look into this during the next week.  The same bug seems to be present
with WHERE.  Fix should be trivial.


-- 

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                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-04-04 17:39:07         |2007-04-07 16:49:50
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31471


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL
  2007-04-04 16:36 [Bug fortran/31471] New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL michael dot a dot richmond at nasa dot gov
                   ` (2 preceding siblings ...)
  2007-04-07 15:49 ` tobi at gcc dot gnu dot org
@ 2007-04-12 17:10 ` patchapp at dberlin dot org
  2007-04-13 13:54 ` tobi at gcc dot gnu dot org
  2007-04-13 14:18 ` tobi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: patchapp at dberlin dot org @ 2007-04-12 17:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from patchapp at dberlin dot org  2007-04-12 18:10 -------
Subject: Bug number PR31471

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00694.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31471


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL
  2007-04-04 16:36 [Bug fortran/31471] New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL michael dot a dot richmond at nasa dot gov
                   ` (3 preceding siblings ...)
  2007-04-12 17:10 ` patchapp at dberlin dot org
@ 2007-04-13 13:54 ` tobi at gcc dot gnu dot org
  2007-04-13 14:18 ` tobi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-04-13 13:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tobi at gcc dot gnu dot org  2007-04-13 14:54 -------
Fixed.  The commit message is here:
http://gcc.gnu.org/ml/gcc-cvs/2007-04/msg00370.html


-- 

tobi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31471


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL
  2007-04-04 16:36 [Bug fortran/31471] New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL michael dot a dot richmond at nasa dot gov
                   ` (4 preceding siblings ...)
  2007-04-13 13:54 ` tobi at gcc dot gnu dot org
@ 2007-04-13 14:18 ` tobi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-04-13 14:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

tobi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31471


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-04-13 14:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-04 16:36 [Bug fortran/31471] New: gfortran does not detect a labeled FORALL with an unlabeled END FORALL michael dot a dot richmond at nasa dot gov
2007-04-04 16:39 ` [Bug fortran/31471] " burnus at gcc dot gnu dot org
2007-04-04 16:41 ` burnus at gcc dot gnu dot org
2007-04-07 15:49 ` tobi at gcc dot gnu dot org
2007-04-12 17:10 ` patchapp at dberlin dot org
2007-04-13 13:54 ` tobi at gcc dot gnu dot org
2007-04-13 14:18 ` tobi at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).