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

* [Bug c++/94691] ICE resolving deduction guide
  2020-04-21 13:57 [Bug c++/94691] New: ICE resolving deduction guide nathan at gcc dot gnu.org
@ 2020-04-21 14:29 ` mpolacek at gcc dot gnu.org
  2020-04-21 14:29 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-04-21 14:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Same ICE as bug 94560 but this actually might be valid (?).

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

* [Bug c++/94691] ICE resolving deduction guide
  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
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-04-21 14:29 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-04-21
     Ever confirmed|0                           |1
                 CC|                            |mpolacek at gcc dot gnu.org

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

* [Bug c++/94691] ICE resolving deduction guide
  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
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-04-22 15:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Created attachment 48353
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48353&action=edit
another case

Attached another example of the same assert triggering

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

* [Bug c++/94691] ICE resolving deduction guide
  2020-04-21 13:57 [Bug c++/94691] New: ICE resolving deduction guide nathan at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-04-22 15:39 ` nathan at gcc dot gnu.org
@ 2021-04-14 14:58 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-04-14 14:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ppalka at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
I believe this is essentially a dup of PR99180, which has recently been fixed
on trunk.

*** This bug has been marked as a duplicate of bug 99180 ***

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