public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105758] New: [12/13 Regression] ICE in build_baselink since r12-6897
@ 2022-05-28 11:46 jakub at gcc dot gnu.org
  2022-05-28 11:47 ` [Bug c++/105758] " jakub at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-28 11:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105758
           Summary: [12/13 Regression] ICE in build_baselink since
                    r12-6897
           Product: gcc
           Version: 12.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

Starting with r12-6897-gdec8d0e5fa00ceb2ded78b8a3eba8976d860a90e we ICE with
-std=c++11 on the following testcase:
struct A {
  template <typename D, typename T> void foo(D, T, int);
};
template <class, typename, class, class, class, class, class, class, class,
class, class, class>
struct Z : A {
  static Z *z;
  void bar();
};
template <class T, typename B, class P1, class P2, class P3, class P4, class
P5, class P6, class P7, class P8, class P9, class P10>
Z<T, B, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> *Z<T, B, P1, P2, P3, P4, P5,
P6, P7, P8, P9, P10>::z;
template <class T, typename B, class P1, class P2, class P3, class P4, class
P5, class P6, class P7, class P8, class P9, class P10>
void Z<T, B, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>::bar() {
  int a = 0, b = 1, c = 2;
  z->foo(a, b, c);
}

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

end of thread, other threads:[~2022-07-21 16:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-28 11:46 [Bug c++/105758] New: [12/13 Regression] ICE in build_baselink since r12-6897 jakub at gcc dot gnu.org
2022-05-28 11:47 ` [Bug c++/105758] " jakub at gcc dot gnu.org
2022-05-31 13:24 ` mpolacek at gcc dot gnu.org
2022-05-31 14:45 ` ppalka at gcc dot gnu.org
2022-05-31 20:50 ` cvs-commit at gcc dot gnu.org
2022-07-21 16:47 ` [Bug c++/105758] [12 " cvs-commit at gcc dot gnu.org
2022-07-21 16:48 ` ppalka 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).