public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/94702] New: std::unsequenced_policy should not be defined for C++17
@ 2020-04-21 21:02 redi at gcc dot gnu.org
  2020-04-21 21:42 ` [Bug libstdc++/94702] " rodgertq at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2020-04-21 21:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94702
           Summary: std::unsequenced_policy should not be defined for
                    C++17
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
                CC: rodgertq at gcc dot gnu.org
  Target Milestone: ---

This should compile without error in C++17:

// { dg-options "-std=gnu++17" }
// { dg-do compile { target c++17_only } }
#define unsequenced_policy 1
#include <execution>

It fails because std::unsequenced_policy is defined unconditionally.

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

end of thread, other threads:[~2020-04-23 20:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 21:02 [Bug libstdc++/94702] New: std::unsequenced_policy should not be defined for C++17 redi at gcc dot gnu.org
2020-04-21 21:42 ` [Bug libstdc++/94702] " rodgertq at gcc dot gnu.org
2020-04-22 21:32 ` redi at gcc dot gnu.org
2020-04-22 22:15 ` redi at gcc dot gnu.org
2020-04-22 22:16 ` redi at gcc dot gnu.org
2020-04-23 20:16 ` cvs-commit 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).