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

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Wed Nov 16 02:46:00 GMT 2016


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

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> 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).


More information about the Gcc-bugs mailing list