public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105655] New: [12/13 Regression] ICE on invalid deduction
@ 2022-05-19  8:02 egor.pugin at gmail dot com
  2022-05-19  8:22 ` [Bug c++/105655] " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: egor.pugin at gmail dot com @ 2022-05-19  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105655
           Summary: [12/13 Regression] ICE on invalid deduction
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: egor.pugin at gmail dot com
  Target Milestone: ---

Works on 11.3, does not work on 12 and trunk.
https://godbolt.org/z/YrEbn3K6f

template <class T>
struct A
{
    template <class L, class R>
    struct B
    {
        B(const L & left, const R & right)
        {}
    };

    template <class L, class R>
    B(const L &, const R &) -> B<L, R>;
};

template <class L, class R>
using C = A<int>::B<L, R>;

int main()
{
    C x{0, 0};
}

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

end of thread, other threads:[~2022-05-31 19:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19  8:02 [Bug c++/105655] New: [12/13 Regression] ICE on invalid deduction egor.pugin at gmail dot com
2022-05-19  8:22 ` [Bug c++/105655] " marxin at gcc dot gnu.org
2022-05-19 10:59 ` rguenth at gcc dot gnu.org
2022-05-25 16:14 ` jason at gcc dot gnu.org
2022-05-25 18:50 ` cvs-commit at gcc dot gnu.org
2022-05-31 19:31 ` [Bug c++/105655] [12 " cvs-commit at gcc dot gnu.org
2022-05-31 19:32 ` 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).