public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99366] New: Partial specialization with constrained placeholder NTTP is not more specialized
@ 2021-03-03 17:54 johelegp at gmail dot com
  2021-03-03 19:55 ` [Bug c++/99366] [11 Regression] " mpolacek at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: johelegp at gmail dot com @ 2021-03-03 17:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99366
           Summary: Partial specialization with constrained placeholder
                    NTTP is not more specialized
           Product: gcc
           Version: 11.0
               URL: https://godbolt.org/z/ETjYfP
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: johelegp at gmail dot com
                CC: johelegp at gmail dot com
  Target Milestone: ---

See https://godbolt.org/z/ETjYfP.
```C++
template<class>concept C=true;
template<class,C auto>struct A{};
template<class T,C auto V>requires true struct A<T,V>{};
```
I think CE recompiles GCC trunk daily, and this was working yesterday.
Must be related to Bug 99365.

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

* [Bug c++/99366] [11 Regression] Partial specialization with constrained placeholder NTTP is not more specialized
  2021-03-03 17:54 [Bug c++/99366] New: Partial specialization with constrained placeholder NTTP is not more specialized johelegp at gmail dot com
@ 2021-03-03 19:55 ` mpolacek at gcc dot gnu.org
  2021-03-03 21:17 ` ppalka at gcc dot gnu.org
  2021-03-03 22:54 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-03-03 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-03-03
             Status|UNCONFIRMED                 |NEW
                 CC|                            |mpolacek at gcc dot gnu.org,
                   |                            |ppalka at gcc dot gnu.org
     Ever confirmed|0                           |1
           Priority|P3                          |P1
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=99365
            Summary|Partial specialization with |[11 Regression] Partial
                   |constrained placeholder     |specialization with
                   |NTTP is not more            |constrained placeholder
                   |specialized                 |NTTP is not more
                   |                            |specialized
   Target Milestone|---                         |11.0

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r11-7454.  Might be the same underlying issue.

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

* [Bug c++/99366] [11 Regression] Partial specialization with constrained placeholder NTTP is not more specialized
  2021-03-03 17:54 [Bug c++/99366] New: Partial specialization with constrained placeholder NTTP is not more specialized johelegp at gmail dot com
  2021-03-03 19:55 ` [Bug c++/99366] [11 Regression] " mpolacek at gcc dot gnu.org
@ 2021-03-03 21:17 ` ppalka at gcc dot gnu.org
  2021-03-03 22:54 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-03-03 21:17 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

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

* [Bug c++/99366] [11 Regression] Partial specialization with constrained placeholder NTTP is not more specialized
  2021-03-03 17:54 [Bug c++/99366] New: Partial specialization with constrained placeholder NTTP is not more specialized johelegp at gmail dot com
  2021-03-03 19:55 ` [Bug c++/99366] [11 Regression] " mpolacek at gcc dot gnu.org
  2021-03-03 21:17 ` ppalka at gcc dot gnu.org
@ 2021-03-03 22:54 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-03-03 22:54 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #1)
> Started with r11-7454.  Might be the same underlying issue.

Seems to be the same issue indeed.  And since the testcases are nearly
identical, I'm going to go ahead and merge the two PRs.

*** This bug has been marked as a duplicate of bug 99365 ***

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

end of thread, other threads:[~2021-03-03 22:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 17:54 [Bug c++/99366] New: Partial specialization with constrained placeholder NTTP is not more specialized johelegp at gmail dot com
2021-03-03 19:55 ` [Bug c++/99366] [11 Regression] " mpolacek at gcc dot gnu.org
2021-03-03 21:17 ` ppalka at gcc dot gnu.org
2021-03-03 22:54 ` 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).