public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16935] New: Segmentation fault of compiler with unsupported control items in OPEN
@ 2004-08-09 14:15 paulthomas2 at wanadoo dot fr
  2004-08-09 16:22 ` [Bug libfortran/16935] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: paulthomas2 at wanadoo dot fr @ 2004-08-09 14:15 UTC (permalink / raw)
  To: gcc-bugs

!G77 complains that this is an unsupported control item.
!GFORTRAN compiles OK put program gives segmentation fault
!I have not checked the other control items but strongly urge a G77 style
!error message for standard but unsupported items.
!distilled from Meissner text book example
       program bug2
       implicit none
       character*(500)  String
       open( 1 , file = "str_500.txt", position = "REWIND" )
       read( 1 , * ) String
       close( 1 ) 
       stop
       end

str_500.txt contains

"A character string consists of zero or more characters. Even though it is made
up of individual characters, a character string is considered to be a scalar. As
with any data type, it is possible to declare an array of character strings, all
the same length. A substring is a contiguous portion of a character string that
has a starting point and an ending point within the character string. It is
possible to reference a substring of a character scalar variable or constant."

-- 
           Summary: Segmentation fault of compiler with unsupported control
                    items in OPEN
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: paulthomas2 at wanadoo dot fr
                CC: bdavis at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org


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


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

* [Bug libfortran/16935] Segmentation fault of compiler with unsupported control items in OPEN
  2004-08-09 14:15 [Bug fortran/16935] New: Segmentation fault of compiler with unsupported control items in OPEN paulthomas2 at wanadoo dot fr
@ 2004-08-09 16:22 ` pinskia at gcc dot gnu dot org
  2004-08-13  2:04 ` bdavis at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-09 16:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |libfortran


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


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

* [Bug libfortran/16935] Segmentation fault of compiler with unsupported control items in OPEN
  2004-08-09 14:15 [Bug fortran/16935] New: Segmentation fault of compiler with unsupported control items in OPEN paulthomas2 at wanadoo dot fr
  2004-08-09 16:22 ` [Bug libfortran/16935] " pinskia at gcc dot gnu dot org
@ 2004-08-13  2:04 ` bdavis at gcc dot gnu dot org
  2004-08-13  2:09 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-08-13  2:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis at gcc dot gnu dot org  2004-08-13 02:04 -------
proposed patch here:

http://gcc.gnu.org/ml/fortran/2004-08/msg00072.html



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug libfortran/16935] Segmentation fault of compiler with unsupported control items in OPEN
  2004-08-09 14:15 [Bug fortran/16935] New: Segmentation fault of compiler with unsupported control items in OPEN paulthomas2 at wanadoo dot fr
  2004-08-09 16:22 ` [Bug libfortran/16935] " pinskia at gcc dot gnu dot org
  2004-08-13  2:04 ` bdavis at gcc dot gnu dot org
@ 2004-08-13  2:09 ` pinskia at gcc dot gnu dot org
  2004-08-13 22:04 ` pinskia at gcc dot gnu dot org
  2004-08-13 22:05 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-13  2:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-13 02:08 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-13 02:08:39
               date|                            |


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


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

* [Bug libfortran/16935] Segmentation fault of compiler with unsupported control items in OPEN
  2004-08-09 14:15 [Bug fortran/16935] New: Segmentation fault of compiler with unsupported control items in OPEN paulthomas2 at wanadoo dot fr
                   ` (2 preceding siblings ...)
  2004-08-13  2:09 ` pinskia at gcc dot gnu dot org
@ 2004-08-13 22:04 ` pinskia at gcc dot gnu dot org
  2004-08-13 22:05 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-13 22:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-13 22:04 -------
Fixed, Bud put the wrong PR number on the commit message.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bdavis at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Target Milestone|---                         |3.5.0


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


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

* [Bug libfortran/16935] Segmentation fault of compiler with unsupported control items in OPEN
  2004-08-09 14:15 [Bug fortran/16935] New: Segmentation fault of compiler with unsupported control items in OPEN paulthomas2 at wanadoo dot fr
                   ` (3 preceding siblings ...)
  2004-08-13 22:04 ` pinskia at gcc dot gnu dot org
@ 2004-08-13 22:05 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-13 22:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-13 22:05 -------
Closing now.

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


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


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

end of thread, other threads:[~2004-08-13 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-09 14:15 [Bug fortran/16935] New: Segmentation fault of compiler with unsupported control items in OPEN paulthomas2 at wanadoo dot fr
2004-08-09 16:22 ` [Bug libfortran/16935] " pinskia at gcc dot gnu dot org
2004-08-13  2:04 ` bdavis at gcc dot gnu dot org
2004-08-13  2:09 ` pinskia at gcc dot gnu dot org
2004-08-13 22:04 ` pinskia at gcc dot gnu dot org
2004-08-13 22:05 ` pinskia 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).