public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96333] New: Regression on concepts constraint checking
@ 2020-07-27 13:19 joel.falcou at lri dot fr
  2020-07-27 13:33 ` [Bug c++/96333] " barry.revzin at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: joel.falcou at lri dot fr @ 2020-07-27 13:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96333
           Summary: Regression on concepts constraint checking
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel.falcou at lri dot fr
  Target Milestone: ---

The following code :

https://godbolt.org/z/ah6ssM

exhibits a regression so that not having const& on one of the g overload make
them ambiguous.

g++ 10.1 and clang 10 compiles both version without error.
The workaround to add const& is OK but I think this is not normal behavior.

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

end of thread, other threads:[~2022-03-30 18:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 13:19 [Bug c++/96333] New: Regression on concepts constraint checking joel.falcou at lri dot fr
2020-07-27 13:33 ` [Bug c++/96333] " barry.revzin at gmail dot com
2020-07-27 13:41 ` [Bug c++/96333] [10/11 Regression] " rguenth at gcc dot gnu.org
2020-07-27 15:03 ` redi at gcc dot gnu.org
2020-07-27 15:04 ` redi at gcc dot gnu.org
2020-12-22 21:03 ` jason at gcc dot gnu.org
2021-02-09  7:18 ` david at doublewise dot net
2022-03-30 18:55 ` ppalka 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).