Re: [patch, libgfortran] PR69456 Namelist value with trailing sign is ignored without error

2016-02-23 Thread Dominique d'Humières
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

[patch, libgfortran] PR69456 Namelist value with trailing sign is ignored without error

2016-02-22 Thread Jerry DeLisle
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