aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-05-20 18:13:00 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-01 20:36:54 +0100
commit44967af830a8d887f0d7b6848d40e1c0870b6b0e (patch)
treeeee27696cc2b8f474e2d37c3198e60e040980f1b /gcc
parentdc1b29508d765b874372f4b1737ac6dc86962506 (diff)
downloadgcc-44967af830a8d887f0d7b6848d40e1c0870b6b0e.zip
gcc-44967af830a8d887f0d7b6848d40e1c0870b6b0e.tar.gz
gcc-44967af830a8d887f0d7b6848d40e1c0870b6b0e.tar.bz2
libstdc++: Simplify __throw_out_of_range_fmt for freestanding
There is no point expanding the format string if we're just going to abort instead of throw an exception. And for freestanding or non-verbose builds we shouldn't do it either, to reduce the binary size. Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * src/c++11/functexcept.cc (__throw_out_of_range_fmt): Do not expand the format string for freestanding, or non-vebose, or if we're just going to abort anyway. * src/c++11/snprintf_lite.cc: Remove unused header and declaration.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions