public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98711] New: internal compiler error on instantiation of c++20 template class with 2 constrained and disabled destructors
@ 2021-01-17 16:36 ryan_greenblatt at brown dot edu
  2021-01-17 16:52 ` [Bug c++/98711] " ppalka at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: ryan_greenblatt at brown dot edu @ 2021-01-17 16:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98711
           Summary: internal compiler error on instantiation of c++20
                    template class with 2 constrained and disabled
                    destructors
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ryan_greenblatt at brown dot edu
  Target Milestone: ---

```
template <typename T> struct A {
  constexpr ~A() requires(false) {}
  constexpr ~A() requires(!true) {}
};

constexpr A<int> a;
```
https://godbolt.org/z/ao59G4

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

* [Bug c++/98711] internal compiler error on instantiation of c++20 template class with 2 constrained and disabled destructors
  2021-01-17 16:36 [Bug c++/98711] New: internal compiler error on instantiation of c++20 template class with 2 constrained and disabled destructors ryan_greenblatt at brown dot edu
@ 2021-01-17 16:52 ` ppalka at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-01-17 16:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Thanks for the bug report.  This is essentially a dup of PR96745, I think.

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

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

end of thread, other threads:[~2021-01-17 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-17 16:36 [Bug c++/98711] New: internal compiler error on instantiation of c++20 template class with 2 constrained and disabled destructors ryan_greenblatt at brown dot edu
2021-01-17 16:52 ` [Bug c++/98711] " 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).