This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78351] comma not terminating READ of formatted input field - ok in 4.1.7, not 4.4.7- maybe related to 25419?


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78351

--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #10)
> > We are getting a segfault right after the error and the backtrace
> > is landing in the middle of read_block_direct, so the error recovery
> > is broken. Segfault  is never acceptable so I will fix that first.
> > (error recovery)
> 
> I don't see that:
> 
> [Book15] f90/bug% gfc pr78351.f90 -fno-backtrace
> [Book15] f90/bug% ./a.out
> At line 3 of file pr78351.f90
> Fortran runtime error: Bad value during integer read
> 
> Note that trunk (7.0) behaves as gcc 4.3.1 (the oldest version I have).

Agree, I was single stepping through with gdb and it was misleading me on the
trail. I was probably using symbols from 4.6 on my system. On to the comma
question.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]