aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit/libgccjit.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-08-09 18:52:10 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-08-09 18:52:10 +0100
commit04d07b61cb80fd97e98eb39451ff6a8675a63d90 (patch)
tree2f1a5e8476f916373aca9ab3ebd0606ceaf5f9c5 /gcc/jit/libgccjit.c
parenta171ac0380a22f992d9c57a4189ddfc834d0e022 (diff)
downloadgcc-04d07b61cb80fd97e98eb39451ff6a8675a63d90.zip
gcc-04d07b61cb80fd97e98eb39451ff6a8675a63d90.tar.gz
gcc-04d07b61cb80fd97e98eb39451ff6a8675a63d90.tar.bz2
PR libstdc++/81751 don't call fflush(NULL)
PR libstdc++/79820 PR libstdc++/81751 * config/io/basic_file_stdio.cc (sys_open(FILE*, ios_base::openmode)): Call fflush on the stream instead of calling sync() while _M_cfile is null. Restore original value of errno. * testsuite/ext/stdio_filebuf/char/79820.cc: New. * testsuite/ext/stdio_filebuf/char/81751.cc: New. From-SVN: r250993
Diffstat (limited to 'gcc/jit/libgccjit.c')
0 files changed, 0 insertions, 0 deletions