https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98202

            Bug ID: 98202
           Summary: C++ cannot parse F128 suffix for float128 literals
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

auto f = __FLT128_MIN__;

<stdin>:1:10: error: unable to find numeric literal operator ‘operator""F128’

The macros for the F128 constants all end in a F128 suffix, which the C++
compiler doesn't understand.

Either the macros shouldn't be defined for C++ or (preferably) they should work
correctly. This would allow libstdc++ to define std::numeric_limits<__ieee128>
for powerpc64le.

Reply via email to