https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96449
Bug ID: 96449
Summary: libstdc++-v3/src/c++17/floating_from_chars.cc:326:Foun
d duplicate branches for 'if' and 'else'
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Source code is
if (isinf(tmpval)) // overflow
ec = errc::result_out_of_range;
else // underflow (LWG 3081 wants to set value = tmpval here)
ec = errc::result_out_of_range;
Maybe the if statement is not required or the branches should be different ?