00f07d96bd
PR libfortran/20068 PR libfortran/20125 PR libfortran/20156 PR libfortran/20471 * io/backspace.c (unformatted_backspace): Fix error in arithmetic. (st_backspace): When in WRITING mode, we flush and falling back into READING mode. In all cases, correctly position the stream. * gfortran.dg/backspace.f: New test. Co-Authored-By: Francois-Xavier Coudert <coudert@clipper.ens.fr> From-SVN: r97478
This is the GNU Fortran 95 Runtime library (libgfortran). It is intended to be compiled as part of GCC. Programs must be linked with "-lgfortran -lm". The 'gfortran' driver does this automatically. You'll need to apply gcc_config.patch to your top level GCC source directory. This tells the the GCC configure system about libgfor. This patch can confuse patch as it contains a filename with a '-' in it. use "patch -p1" to avoid this problem. For more information about GNU Fortran 95, see http://gcc-g95.sourceforge.net Paul Brook <paul@nowt.org>