public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87
@ 2021-08-20  1:58 hewillk at gmail dot com
  2021-08-20  2:03 ` [Bug c++/101990] [12 Regression] ICE after parse error with concepts pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hewillk at gmail dot com @ 2021-08-20  1:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101990
           Summary: ICE: tree check: expected class 'type', have
                    'exceptional' (error_mark) in
                    useless_type_conversion_p, at gimple-expr.c:87
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

template<auto> class S {};

template<class T> concept C = requires { []<T x>() -> typename S<x> { }; };

void foo(bool);

int main() {
  foo(C<int>);
}

https://godbolt.org/z/zsYY5bPoW

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

end of thread, other threads:[~2023-05-08 12:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
2021-08-20  2:03 ` [Bug c++/101990] [12 Regression] ICE after parse error with concepts pinskia at gcc dot gnu.org
2021-08-20  2:04 ` pinskia at gcc dot gnu.org
2021-08-20  7:47 ` marxin at gcc dot gnu.org
2022-01-20 10:48 ` rguenth at gcc dot gnu.org
2022-05-06  8:30 ` [Bug c++/101990] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:22 ` [Bug c++/101990] [12/13/14 " rguenth 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).