public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/97103] New: ICE on nested requires expression template template instantiation
@ 2020-09-18  9:45 mateusz.pusz at gmail dot com
  2020-09-18  9:45 ` [Bug c++/97103] " mateusz.pusz at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mateusz.pusz at gmail dot com @ 2020-09-18  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97103
           Summary: ICE on nested requires expression template template
                    instantiation
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mateusz.pusz at gmail dot com
  Target Milestone: ---

```
template<typename R, typename Rep = double>
class quantity {};

template<template<typename, typename> typename Q>
inline constexpr bool valid_template_arguments = requires {
  requires requires { typename Q<int, int>; };
};
static_assert(valid_template_arguments<quantity>);
```

Might be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564.

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

end of thread, other threads:[~2021-03-31 12:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18  9:45 [Bug c++/97103] New: ICE on nested requires expression template template instantiation mateusz.pusz at gmail dot com
2020-09-18  9:45 ` [Bug c++/97103] " mateusz.pusz at gmail dot com
2020-09-18 12:55 ` ppalka at gcc dot gnu.org
2020-09-18 18:47 ` [Bug c++/97103] [10/11 Regression] " ppalka at gcc dot gnu.org
2020-09-19 15:18 ` cvs-commit at gcc dot gnu.org
2020-10-12 11:52 ` [Bug c++/97103] [10 " rguenth at gcc dot gnu.org
2021-03-31 12:33 ` cvs-commit at gcc dot gnu.org
2021-03-31 12:35 ` 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).