public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102629] New: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have decltype_type in lookup_base, at cp/search.c:233
@ 2021-10-06 15:32 hewillk at gmail dot com
  2021-10-11  9:53 ` [Bug c++/102629] ICE: tree check: expected record_type or union_type or qual_union_type, have decltype_type in lookup_base, at cp/search.c:233 since r10-2194-g10acaf4db9f8b54b marxin at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hewillk at gmail dot com @ 2021-10-06 15:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102629
           Summary: internal compiler error: tree check: expected
                    record_type or union_type or qual_union_type, have
                    decltype_type in lookup_base, at cp/search.c:233
           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: ---

12 Regression:


#include <utility>

struct S {};

template <typename... Args>
void foo(Args&&... args) {
  [...args = std::forward<Args> /*(args)*/] {
    [](auto...) { } (std::forward<Args>(args)...);
  };
}

void bar( ) {
  foo(S{});
}

https://godbolt.org/z/WhnWTbvoj

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

end of thread, other threads:[~2022-05-25 17:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 15:32 [Bug c++/102629] New: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have decltype_type in lookup_base, at cp/search.c:233 hewillk at gmail dot com
2021-10-11  9:53 ` [Bug c++/102629] ICE: tree check: expected record_type or union_type or qual_union_type, have decltype_type in lookup_base, at cp/search.c:233 since r10-2194-g10acaf4db9f8b54b marxin at gcc dot gnu.org
2021-10-17 20:12 ` [Bug c++/102629] [10/11/12 Regression] ICE: tree check " pinskia at gcc dot gnu.org
2022-03-31 16:52 ` mpolacek at gcc dot gnu.org
2022-04-26  4:18 ` jason at gcc dot gnu.org
2022-04-26 20:12 ` cvs-commit at gcc dot gnu.org
2022-05-12 20:14 ` [Bug c++/102629] [10/11 " cvs-commit at gcc dot gnu.org
2022-05-12 21:23 ` [Bug c++/102629] [10 " cvs-commit at gcc dot gnu.org
2022-05-12 21:35 ` jason at gcc dot gnu.org
2022-05-25 17:03 ` 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).