aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-03-05 01:50:33 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2008-03-05 01:50:33 +0000
commit25abf44844f7b9ebeb7e7e3f21b05adb903850a1 (patch)
tree80aeb189f4a89b4797ea2eb3dd5f0f5781ac9461 /gcc/tree-cfg.c
parent07c40d0bb9fffa145c083c67f282a6ec7d99cbe6 (diff)
downloadgcc-25abf44844f7b9ebeb7e7e3f21b05adb903850a1.zip
gcc-25abf44844f7b9ebeb7e7e3f21b05adb903850a1.tar.gz
gcc-25abf44844f7b9ebeb7e7e3f21b05adb903850a1.tar.bz2
re PR libfortran/35293 (truncation errors with gfortran.dg/streamio_11.f90, 3, 4 and 15.)
PR libfortran/35293 * io/unix.c (fd_truncate): Fold s->special_file case into success case of ftruncate/chsize call instead of the failure case. Make failure case actually return failure. Properly update stream pointers on failure. Call runtime_error for targets without neither ftruncate nor chsize where such a call would be needed. From-SVN: r132888
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions