public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102005] New: ICE: tree check: expected function_type or method_type, have integer_type in set_flags_from_callee, at cp/call.c:334
@ 2021-08-21 11:35 hewillk at gmail dot com
  2021-08-21 12:43 ` [Bug c++/102005] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: hewillk at gmail dot com @ 2021-08-21 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102005
           Summary: ICE: tree check: expected function_type or
                    method_type, have integer_type in
                    set_flags_from_callee, at cp/call.c:334
           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: ---

int foo();

template<auto f = [](int = foo()){ }>
void bar() { f(); }

int main() {
  bar();
}

https://godbolt.org/z/xbYoczGoz

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

* [Bug c++/102005] ICE: tree check: expected function_type or method_type, have integer_type in set_flags_from_callee, at cp/call.c:334
  2021-08-21 11:35 [Bug c++/102005] New: ICE: tree check: expected function_type or method_type, have integer_type in set_flags_from_callee, at cp/call.c:334 hewillk at gmail dot com
@ 2021-08-21 12:43 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-21 12:43 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 96961.

*** This bug has been marked as a duplicate of bug 96961 ***

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

end of thread, other threads:[~2021-08-21 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 11:35 [Bug c++/102005] New: ICE: tree check: expected function_type or method_type, have integer_type in set_flags_from_callee, at cp/call.c:334 hewillk at gmail dot com
2021-08-21 12:43 ` [Bug c++/102005] " pinskia 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).