public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101421] New: ICE: in lookup_template_class_1, at cp/pt.c:10005
@ 2021-07-11 16:19 hewillk at gmail dot com
  2021-07-12  9:05 ` [Bug c++/101421] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hewillk at gmail dot com @ 2021-07-11 16:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101421
           Summary: ICE: in lookup_template_class_1, at cp/pt.c:10005
           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 <class>
concept C = []<auto>{}.operator()<>;

static_assert(C<int>);

https://godbolt.org/z/3erTG3M6q

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

* [Bug c++/101421] ICE: in lookup_template_class_1, at cp/pt.c:10005
  2021-07-11 16:19 [Bug c++/101421] New: ICE: in lookup_template_class_1, at cp/pt.c:10005 hewillk at gmail dot com
@ 2021-07-12  9:05 ` marxin at gcc dot gnu.org
  2021-07-12 13:56 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-07-12  9:05 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-86-gef3479afc5ab415f.

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

* [Bug c++/101421] ICE: in lookup_template_class_1, at cp/pt.c:10005
  2021-07-11 16:19 [Bug c++/101421] New: ICE: in lookup_template_class_1, at cp/pt.c:10005 hewillk at gmail dot com
  2021-07-12  9:05 ` [Bug c++/101421] " marxin at gcc dot gnu.org
@ 2021-07-12 13:56 ` mpolacek at gcc dot gnu.org
  2022-01-04 20:31 ` arthur.j.odwyer at gmail dot com
  2022-08-09 19:23 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-07-12 13:56 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-07-12

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

* [Bug c++/101421] ICE: in lookup_template_class_1, at cp/pt.c:10005
  2021-07-11 16:19 [Bug c++/101421] New: ICE: in lookup_template_class_1, at cp/pt.c:10005 hewillk at gmail dot com
  2021-07-12  9:05 ` [Bug c++/101421] " marxin at gcc dot gnu.org
  2021-07-12 13:56 ` mpolacek at gcc dot gnu.org
@ 2022-01-04 20:31 ` arthur.j.odwyer at gmail dot com
  2022-08-09 19:23 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2022-01-04 20:31 UTC (permalink / raw)
  To: gcc-bugs

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

Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arthur.j.odwyer at gmail dot com

--- Comment #2 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
C++14 reproducer: https://gcc.godbolt.org/z/WafKPneef

template<class>
void f() {
    [](auto){}.operator()<throw 1>;
}
template void f<int>();

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

* [Bug c++/101421] ICE: in lookup_template_class_1, at cp/pt.c:10005
  2021-07-11 16:19 [Bug c++/101421] New: ICE: in lookup_template_class_1, at cp/pt.c:10005 hewillk at gmail dot com
                   ` (2 preceding siblings ...)
  2022-01-04 20:31 ` arthur.j.odwyer at gmail dot com
@ 2022-08-09 19:23 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-08-09 19:23 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r13-1390-g07ac550393d00f.

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

end of thread, other threads:[~2022-08-09 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11 16:19 [Bug c++/101421] New: ICE: in lookup_template_class_1, at cp/pt.c:10005 hewillk at gmail dot com
2021-07-12  9:05 ` [Bug c++/101421] " marxin at gcc dot gnu.org
2021-07-12 13:56 ` mpolacek at gcc dot gnu.org
2022-01-04 20:31 ` arthur.j.odwyer at gmail dot com
2022-08-09 19:23 ` mpolacek 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).