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

* [Bug c++/106760] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801
  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 ` pinskia at gcc dot gnu.org
  2022-08-29 13:38 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-27 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking
           Severity|normal                      |trivial

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect this is a regression from GCC 11 but since the ICE only happens with
checking it is a very minor one.

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

* [Bug c++/106760] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-08-29 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-08-29
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |ppalka at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r12-3346-g47543e5f9d1fc502.

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

* [Bug c++/106760] [12/13/14 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801
  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 ` 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
  4 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-06-02 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
             Status|NEW                         |ASSIGNED
            Summary|ICE: tree check: expected   |[12/13/14 Regression] ICE:
                   |function_decl, have         |tree check: expected
                   |template_decl in            |function_decl, have
                   |get_fndecl_argument_locatio |template_decl in
                   |n, at cp/call.cc:7801       |get_fndecl_argument_locatio
                   |                            |n, at cp/call.cc:7801

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

* [Bug c++/106760] [12/13/14 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801
  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
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-19 11:03 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.4

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

* [Bug c++/106760] [12/13/14 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801
  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
                   ` (3 preceding siblings ...)
  2023-07-19 11:03 ` rguenth at gcc dot gnu.org
@ 2024-01-12  9:59 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-12  9:59 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

^ 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).