fno-backslash not available in gfortran
FX Coudert
fxcoudert@gmail.com
Sun Jun 19 20:55:00 GMT 2005
> There's quite a lot of fortran 77 code that will not work without the
> equivalent of -fno-backslash. Is it going to be implemented in gfortran in
> the near future?
It's easy to fix; in fact, after receiving your mail, I've written the
patch needed for this option. With it:
$ cat backslash.f
print *, '1\n2'
end
$ gfortran backslash.f && ./a.out
1
2
$ gfortran backslash.f -fno-backslash && ./a.out
1\n2
$ gfortran backslash.f -fbackslash && ./a.out
1
2
I need to add the documentation for it, a testcase too; when this is
done, I'll submit it for review, so it will be incorporated in a few
days. I think we can call that "the near future" ;-)
FX
More information about the Fortran
mailing list