aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/write.c
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2017-01-13 16:46:25 +0200
committerVille Voutilainen <ville@gcc.gnu.org>2017-01-13 16:46:25 +0200
commite5dcfacf4390abe657d186eff582835e8d1b8370 (patch)
tree0b93988d916d1c7b514a4937985f463ef43f4cb6 /libgfortran/io/write.c
parent45cac8baeb358b76c7255841543190cf3eeff2be (diff)
downloadgcc-e5dcfacf4390abe657d186eff582835e8d1b8370.zip
gcc-e5dcfacf4390abe657d186eff582835e8d1b8370.tar.gz
gcc-e5dcfacf4390abe657d186eff582835e8d1b8370.tar.bz2
re PR libstdc++/78389 (list::merge and list::sort are not exception safe)
PR libstdc++/78389 * include/bits/list.tcc (merge(list&&)): Adjust list sizes if the comparator throws. (merge(list&&, _StrictWeakOrdering)): Likewise. (sort()): Splice elements back from the scratch buffers if the comparator throws. (sort(_StrictWeakOrdering)): Likewise. * testsuite/23_containers/list/operations/78389.cc: New. From-SVN: r244439
Diffstat (limited to 'libgfortran/io/write.c')
0 files changed, 0 insertions, 0 deletions