]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix syntax error in old-glibc case in floating_from_chars.cc [PR107562]
authorJoseph Myers <joseph@codesourcery.com>
Tue, 8 Nov 2022 01:39:52 +0000 (01:39 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 8 Nov 2022 01:41:00 +0000 (01:41 +0000)
PR libstdc++/107562
* src/c++17/floating_from_chars.cc (from_chars_impl): Fix syntax
error.

libstdc++-v3/src/c++17/floating_from_chars.cc

index 29eb4634e9d181f3ee2e5acc2712bda79af93f5c..be1e1051b5ccc9c90ce6c4fb98430412b34a1e75 100644 (file)
@@ -632,7 +632,7 @@ namespace
          {
 #ifndef _GLIBCXX_HAVE_FLOAT128_MATH
            if (&__strtof128 == nullptr)
-             tmpval = _Float128(std::strtold(str, &endptr);
+             tmpval = _Float128(std::strtold(str, &endptr));
            else
 #endif
              tmpval = __strtof128(str, &endptr);