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

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
$ cat bug1.f90 
program vincenty
implicit none

real, parameter :: f = .2345
real :: tmp

tmp = 1.0 − f

end program

$ gfc49 bug1.f90 
bug1.f90:7:

tmp = 1.0 \xE2\x88\x92 f
1
Error: Unclassifiable statement at (1)

Notice that gfortran 4.9 displays the hidden characters. I have trash in the
file.

gfortran later versions do not display it, so one gets very confused. I
consider this a diagnostic regression tat should be fixed. So with versio 8, a
mysterious error.

$ gfc bug1.f90 
bug1.f90:7:0:

 tmp = 1.0 − f

Error: Unclassifiable statement at (1)

Reply via email to