[Bug fortran/38249] New: read(*,*) seems to have broken

ronis at ronispc dot chem dot mcgill dot ca gcc-bugzilla@gcc.gnu.org
Mon Nov 24 16:25:00 GMT 2008


I have some legacy code that I just tried compiling with gfortan (on a
i686-linux-slackware-12.1 box).  There were a large number of warnings of the
type:

Warning: Nonconforming tab character in column 1 of line 69

(These where lines which started with a single tab instead of 7 spaces).

In addition there were some errors related to continuation lines of the form:

6 spaces 1 tab code

all this was easy to fix, but when I ran the code, it sigsev'd dieing on a
read(*,*)x,y line.

Changing it to read(1,*)x,y works.  This is a regression I think.

One last thing:  I'd been running the program as:

echo 1 2 | a.out

when this happened.


-- 
           Summary: read(*,*) seems to have broken
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ronis at ronispc dot chem dot mcgill dot ca


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



More information about the Gcc-bugs mailing list