aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbhooks.py
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2020-12-18 11:52:14 -0500
committerPatrick Palka <ppalka@redhat.com>2020-12-18 11:52:14 -0500
commit266d74647567e610cc6fd6fccb7db31081f538e2 (patch)
treef502a772a75789d68644d0f0c62f5867a4bf6ef4 /gcc/gdbhooks.py
parent3af02d32cce2ff1ff11d078cf8094305f57ca179 (diff)
downloadgcc-266d74647567e610cc6fd6fccb7db31081f538e2.zip
gcc-266d74647567e610cc6fd6fccb7db31081f538e2.tar.gz
gcc-266d74647567e610cc6fd6fccb7db31081f538e2.tar.bz2
libstdc++: Check FE_TONEAREST is defined before using it
We need to test that FE_TONEAREST is defined before we may use it along with fegetround/fesetround to adjust the floating-point rounding mode. This fixes a build failure with older versions of newlib. libstdc++-v3/ChangeLog: * src/c++17/floating_from_chars.cc (from_chars_impl) [!defined(FE_TONEAREST)]: Don't adjust the rounding mode. * src/c++17/floating_to_chars.cc (__floating_to_chars_precision): Likewise.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions