public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106760] New: ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801
@ 2022-08-27 13:44 hewillk at gmail dot com
  2022-08-27 14:24 ` [Bug c++/106760] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hewillk at gmail dot com @ 2022-08-27 13:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106760
           Summary: ICE: tree check: expected function_decl, have
                    template_decl in get_fndecl_argument_location, at
                    cp/call.cc:7801
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

struct S {
  template<class> int f();
  int g() const { return f<void>(); }
};

int main() { S().g(); }

https://godbolt.org/z/vcdK4h1Kj

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

end of thread, other threads:[~2024-01-12  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-27 13:44 [Bug c++/106760] New: ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801 hewillk at gmail dot com
2022-08-27 14:24 ` [Bug c++/106760] " pinskia at gcc dot gnu.org
2022-08-29 13:38 ` marxin at gcc dot gnu.org
2023-06-02 14:49 ` [Bug c++/106760] [12/13/14 Regression] " ppalka at gcc dot gnu.org
2023-07-19 11:03 ` rguenth at gcc dot gnu.org
2024-01-12  9:59 ` 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).