public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/49588] New: DATA statement with vector sections rejected (ICE: TODO)
@ 2011-06-30  8:53 burnus at gcc dot gnu.org
  2013-06-26 17:56 ` [Bug fortran/49588] " dominiq at lps dot ens.fr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-30  8:53 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: DATA statement with vector sections rejected (ICE:
                    TODO)
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
        Depends on: 49540


Follow up to PR 49540:

The following program never worked in gfortran, but it is valid. NAG and ifort
print:

 1 2 1 3 1 2

while gfortran just has:

END BLOCK DATA
             1
 Internal Error at (1):
 TODO: Vector sections in data statements


BLOCK DATA
  integer :: A(6)
  DATA A(::2)/3*1/
  DATA A([2,6])/2*2/
  DATA A([4])/3/
  COMMON /com/A
END BLOCK DATA

PROGRAM TEST
  integer :: A(6)
  COMMON /com/A
  print *, A
END PROGRAM TEST


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

end of thread, other threads:[~2023-08-22 18:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-30  8:53 [Bug fortran/49588] New: DATA statement with vector sections rejected (ICE: TODO) burnus at gcc dot gnu.org
2013-06-26 17:56 ` [Bug fortran/49588] " dominiq at lps dot ens.fr
2023-08-20 20:30 ` anlauf at gcc dot gnu.org
2023-08-21 19:50 ` anlauf at gcc dot gnu.org
2023-08-22  8:03 ` cvs-commit at gcc dot gnu.org
2023-08-22 18:21 ` anlauf at gcc dot gnu.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).