aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/frontend-passes.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-08-10 12:02:18 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-08-10 12:02:18 +0100
commit8bd92d8097d44be01a2bc7e14f7916d151dffcd6 (patch)
treeb36dac1d91ab5eab03d6b047fada6c7b88b88439 /gcc/fortran/frontend-passes.c
parent7b7bbbcf510bbc0d95389d157369ade799af4717 (diff)
downloadgcc-8bd92d8097d44be01a2bc7e14f7916d151dffcd6.zip
gcc-8bd92d8097d44be01a2bc7e14f7916d151dffcd6.tar.gz
gcc-8bd92d8097d44be01a2bc7e14f7916d151dffcd6.tar.bz2
libstdc++: Check __cpp_exceptions in basic_string::reserve()
If exceptions are disabled then reallocating could abort, so ignore shrink-to-fit requests. libstdc++-v3/ChangeLog: * include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI=0] (basic_string::reserve()): Do nothing if exceptions are not enabled.
Diffstat (limited to 'gcc/fortran/frontend-passes.c')
0 files changed, 0 insertions, 0 deletions