Hi Jerry,
The patch works as advertised without regression.
Just one nit, I am puzzled by the comment in the line of
gfortran.dg/namelist_89.f90
+write(99,*) " c1=(1-,1+1)" ! Treated as 1e-1?!
Should not it be
+write(99,*) " c1=(1-,1+1)" ! Should give error on item number 5
or something els
Hi all,
The problem here is we were treating a bad exponent as if it was a bad read. On
bad reads we take a soft error path and go back to see if we are reading a new
namelist name. It is done this way because short reads, for example, part of an
array, are permitted. To get to the code where the