public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/87274] -std=c++11 breaks quadmath macros
       [not found] <bug-87274-4@http.gcc.gnu.org/bugzilla/>
@ 2022-02-24  9:38 ` redi at gcc dot gnu.org
  2022-02-24  9:40 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2022-02-24  9:38 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |redi at gcc dot gnu.org

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 98202 has been marked as a duplicate of this bug. ***

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

* [Bug c++/87274] -std=c++11 breaks quadmath macros
       [not found] <bug-87274-4@http.gcc.gnu.org/bugzilla/>
  2022-02-24  9:38 ` [Bug c++/87274] -std=c++11 breaks quadmath macros redi at gcc dot gnu.org
@ 2022-02-24  9:40 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2022-02-24  9:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
There's a related (but slightly different) problem for F128 suffixes:

auto f = __FLT128_MIN__;

f128.C: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 at all, for any -std mode.

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

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

end of thread, other threads:[~2022-02-24  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-87274-4@http.gcc.gnu.org/bugzilla/>
2022-02-24  9:38 ` [Bug c++/87274] -std=c++11 breaks quadmath macros redi at gcc dot gnu.org
2022-02-24  9:40 ` 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).