public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94691] New: ICE resolving deduction guide
@ 2020-04-21 13:57 nathan at gcc dot gnu.org
  2020-04-21 14:29 ` [Bug c++/94691] " mpolacek at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-04-21 13:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94691
           Summary: ICE resolving deduction guide
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nathan at gcc dot gnu.org
  Target Milestone: ---

Created attachment 48324
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48324&action=edit
testcase

This ICEs.  Removing 'const' makes it work.  

devvm2772:52>./cc1plus -std=c++20 jc.ii
 void f()
jc.ii:14:10: internal compiler error: in alias_ctad_tweaks, at cp/pt.c:28472
   14 |   X1 x1{ };
      |          ^
0xcd5728 alias_ctad_tweaks
        ../../../src/gcc/cp/pt.c:28472
0xcd6438 deduction_guides_for
        ../../../src/gcc/cp/pt.c:28644

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

end of thread, other threads:[~2021-04-14 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 13:57 [Bug c++/94691] New: ICE resolving deduction guide nathan at gcc dot gnu.org
2020-04-21 14:29 ` [Bug c++/94691] " mpolacek at gcc dot gnu.org
2020-04-21 14:29 ` mpolacek at gcc dot gnu.org
2020-04-22 15:39 ` nathan at gcc dot gnu.org
2021-04-14 14:58 ` 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).