public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108468] New: ICE in most_specialized_partial_spec/builtin_guide_p in C++20 mode
@ 2023-01-19 17:54 ed at catmur dot uk
  2023-01-19 17:58 ` [Bug c++/108468] [11/12/13 Regression] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ed at catmur dot uk @ 2023-01-19 17:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108468
           Summary: ICE in most_specialized_partial_spec/builtin_guide_p
                    in C++20 mode
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ed at catmur dot uk
  Target Milestone: ---

Since 11.1, the following ices in -std=c++20 and later:

template<int> struct C { template<class, class> static constexpr int x = 1; };
template<int I> template<class... A> int C<I>::x<void(A...), void(A...)> = 2;
int y = C<0>::x<void(int), void()>;

0x23ae54e internal_error(char const*, ...)
        ???:0
0xc5b614 deduction_guide_p(tree_node const*)
        ???:0
0xc5be2c builtin_guide_p(tree_node const*)
        ???:0
0xc82bdf most_specialized_partial_spec(tree_node*, int)
        ???:0
0xc83a76 instantiate_template(tree_node*, tree_node*, int)
        ???:0
0xc8c0d8 finish_template_variable(tree_node*, int)
        ???:0
0xcce05f finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*,
bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int)
        ???:0

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

end of thread, other threads:[~2023-08-11 19:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 17:54 [Bug c++/108468] New: ICE in most_specialized_partial_spec/builtin_guide_p in C++20 mode ed at catmur dot uk
2023-01-19 17:58 ` [Bug c++/108468] [11/12/13 Regression] " mpolacek at gcc dot gnu.org
2023-03-14 20:30 ` jason at gcc dot gnu.org
2023-03-14 22:10 ` cvs-commit at gcc dot gnu.org
2023-03-14 22:11 ` [Bug c++/108468] [11/12 " jason at gcc dot gnu.org
2023-04-18 20:45 ` cvs-commit at gcc dot gnu.org
2023-04-22  0:22 ` [Bug c++/108468] [11 " cvs-commit at gcc dot gnu.org
2023-05-29 10:07 ` jakub at gcc dot gnu.org
2023-08-11 19:37 ` 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).