public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/114377] New: GCC crashes on an example of CTAD for alias templates
@ 2024-03-18 13:18 hokein.wu at gmail dot com
  2024-03-18 14:07 ` [Bug c++/114377] [13/14 Regression] " ppalka at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hokein.wu at gmail dot com @ 2024-03-18 13:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114377
           Summary: GCC crashes on an example of CTAD for alias templates
           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: ---

(This was spotted when I tried to fix a clang crash.)

gcc trunk crashes on the following code, https://godbolt.org/z/x8E95sfTo


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

template <typename C, typename IteratorPolicy>
class Foo {};

template <typename C, template<typename> typename TTP>
using Bar = Foo<C, K<TTP>>;

void s() {
    Bar(1);
}
```

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

end of thread, other threads:[~2024-05-01 20:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-18 13:18 [Bug c++/114377] New: GCC crashes on an example of CTAD for alias templates hokein.wu at gmail dot com
2024-03-18 14:07 ` [Bug c++/114377] [13/14 Regression] " ppalka at gcc dot gnu.org
2024-03-22 13:30 ` law at gcc dot gnu.org
2024-03-25 12:53 ` rguenth at gcc dot gnu.org
2024-03-27 14:05 ` ppalka at gcc dot gnu.org
2024-03-27 14:20 ` ppalka at gcc dot gnu.org
2024-04-04 21:19 ` cvs-commit at gcc dot gnu.org
2024-05-01 20:31 ` [Bug c++/114377] [13 " cvs-commit at gcc dot gnu.org
2024-05-01 20:41 ` jason 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).