public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98202] New: C++ cannot parse F128 suffix for float128 literals
@ 2020-12-08 15:02 redi at gcc dot gnu.org
  2022-02-24  0:31 ` [Bug c++/98202] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2020-12-08 15:02 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-17 13:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 15:02 [Bug c++/98202] New: C++ cannot parse F128 suffix for float128 literals redi at gcc dot gnu.org
2022-02-24  0:31 ` [Bug c++/98202] " pinskia at gcc dot gnu.org
2022-02-24  9:38 ` redi at gcc dot gnu.org
2023-05-16 19:04 ` redi at gcc dot gnu.org
2023-05-16 19:47 ` jakub at gcc dot gnu.org
2023-05-17 13:44 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).