public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/114497] New: Alias CTAD crashes
@ 2024-03-27 10:35 hokein.wu at gmail dot com
  2024-03-27 11:35 ` [Bug c++/114497] " centurionn009 at gmail dot com
  2024-03-27 14:05 ` ppalka at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: hokein.wu at gmail dot com @ 2024-03-27 10:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114497
           Summary: Alias CTAD crashes
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hokein.wu at gmail dot com
  Target Milestone: ---

Crashes on gcc trunk.

See https://gcc.godbolt.org/z/EErMqe44o

```
template <template <typename> typename T>
struct K {};

template <typename U, int...N>
class Foo {};

template <template<typename> typename TTP,
          int...N>
using Bar = Foo<K<TTP>, N...>; 

template <class T>
class Container {};
Bar t = Foo<K<Container>, 1>();

```

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

end of thread, other threads:[~2024-03-27 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 10:35 [Bug c++/114497] New: Alias CTAD crashes hokein.wu at gmail dot com
2024-03-27 11:35 ` [Bug c++/114497] " centurionn009 at gmail dot com
2024-03-27 14:05 ` 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).