libstdc++: Fix mistake in PR98374 change [PR98377]
authorPatrick Palka <ppalka@redhat.com>
Fri, 18 Dec 2020 18:01:49 +0000 (13:01 -0500)
committerPatrick Palka <ppalka@redhat.com>
Fri, 18 Dec 2020 18:01:49 +0000 (13:01 -0500)
commit60cecb2b83ffcebac6e83076f5552df14b073248
tree0211425fac878950d188e2ea795eefac78e8e138
parent22a7e82c200d01d12e34e757e86dc9796a9bf085
libstdc++: Fix mistake in PR98374 change [PR98377]

The #ifdef RADIXCHAR directive should be moved one line up so that it
also guards the outer if statement, or else when RADIXCHAR is not
defined the outer if statement will end up nonsensically guarding the
declaration of output_length_upper_bound a few lines below it.

libstdc++-v3/ChangeLog:

PR libstdc++/98377
* src/c++17/floating_to_chars.cc (__floating_to_chars_precision):
Fix mistake.
libstdc++-v3/src/c++17/floating_to_chars.cc