public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097
@ 2023-04-27  9:25 dcb314 at hotmail dot com
  2023-04-27  9:51 ` [Bug c++/109645] " dcb314 at hotmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-04-27  9:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109645
           Summary: ice in instantiate_decl, at cp/pt.cc:27097
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 54937
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54937&action=edit
gzipped C++ source code

The attached C++ code, does this with recent gcc trunk:

$ ../results.20230426.asan.ubsan/bin/gcc -c -w -march=znver1 bug910.cc
$ ../results.20230427.asan.ubsan/bin/gcc -c -w -march=znver1 bug910.cc 2>&1 |
fgrep internal
/home/dcb36/rpmbuild/BUILD/media-downloader-2.9.0/src/engines/../utils/threads.hpp:55:79:
internal compiler error: in instantiate_decl, at cp/pt.cc:27097
$ ../results.20230426.asan.ubsan/bin/gcc -v 2>&1 | fgrep exp
gcc version 14.0.0 20230426 (experimental) (5fce06b868ec0d4f) 
$ ../results.20230427.asan.ubsan/bin/gcc -v 2>&1 | fgrep exp
gcc version 14.0.0 20230427 (experimental) (d94ca762f6e0e4f1) 
$ git log 5fce06b868ec0d4f..d94ca762f6e0e4f1 | grep -c "^commit"
43

I have a reduction running.

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
@ 2023-04-27  9:51 ` dcb314 at hotmail dot com
  2023-04-27  9:52 ` dcb314 at hotmail dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-04-27  9:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Created attachment 54938
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54938&action=edit
gzipped C++ source code

After an hour of reduction, I have the attached file.

C++ code takes a long time to reduce with cvise.

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
  2023-04-27  9:51 ` [Bug c++/109645] " dcb314 at hotmail dot com
@ 2023-04-27  9:52 ` dcb314 at hotmail dot com
  2023-04-27 10:52 ` dcb314 at hotmail dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-04-27  9:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Attempting a bisection.

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
  2023-04-27  9:51 ` [Bug c++/109645] " dcb314 at hotmail dot com
  2023-04-27  9:52 ` dcb314 at hotmail dot com
@ 2023-04-27 10:52 ` dcb314 at hotmail dot com
  2023-04-27 15:38 ` dcb314 at hotmail dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-04-27 10:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Binderman from comment #2)
> Attempting a bisection.

Current range is a8e1551bdb372aa3..d94ca762f6e0e4f1.

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2023-04-27 10:52 ` dcb314 at hotmail dot com
@ 2023-04-27 15:38 ` dcb314 at hotmail dot com
  2023-04-27 16:11 ` dcb314 at hotmail dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-04-27 15:38 UTC (permalink / raw)
  To: gcc-bugs

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

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Binderman from comment #3)
> (In reply to David Binderman from comment #2)
> > Attempting a bisection.
> 
> Current range is a8e1551bdb372aa3..d94ca762f6e0e4f1.

Latest range is d60cbbfaa9a3ad3b..d94ca762f6e0e4f1, which is 6 commits.

Two of those commits are by Jason Merrill and are the only commits
in the C++ area.

Adding Jason for their best advice.

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2023-04-27 15:38 ` dcb314 at hotmail dot com
@ 2023-04-27 16:11 ` dcb314 at hotmail dot com
  2023-04-27 19:14 ` dcb314 at hotmail dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-04-27 16:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from David Binderman <dcb314 at hotmail dot com> ---
This commit 

commit 95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Mar 16 16:55:39 2023 -0400

    c++: restore instantiate_decl assert

looks to be a hot candidate.

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2023-04-27 16:11 ` dcb314 at hotmail dot com
@ 2023-04-27 19:14 ` dcb314 at hotmail dot com
  2023-04-28  5:58 ` sjames at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-04-27 19:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from David Binderman <dcb314 at hotmail dot com> ---
Created attachment 54944
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54944&action=edit
C++ source code

I can't reduce the code beyond this file.

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2023-04-27 19:14 ` dcb314 at hotmail dot com
@ 2023-04-28  5:58 ` sjames at gcc dot gnu.org
  2023-04-28  5:58 ` sjames at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-04-28  5:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 54949
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54949&action=edit
Further reduced version of David's reproducer

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

* [Bug c++/109645] ice in instantiate_decl, at cp/pt.cc:27097
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
                   ` (6 preceding siblings ...)
  2023-04-28  5:58 ` sjames at gcc dot gnu.org
@ 2023-04-28  5:58 ` sjames at gcc dot gnu.org
  2023-05-02 14:11 ` [Bug c++/109645] [14 Regression] ICE in instantiate_decl, at cp/pt.cc:27097 since r14-283-g95d4c0d2e6318a marxin at gcc dot gnu.org
  2023-05-05  1:09 ` jason at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-04-28  5:58 UTC (permalink / raw)
  To: gcc-bugs

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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-04-28
     Ever confirmed|0                           |1

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

* [Bug c++/109645] [14 Regression] ICE in instantiate_decl, at cp/pt.cc:27097 since r14-283-g95d4c0d2e6318a
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
                   ` (7 preceding siblings ...)
  2023-04-28  5:58 ` sjames at gcc dot gnu.org
@ 2023-05-02 14:11 ` marxin at gcc dot gnu.org
  2023-05-05  1:09 ` jason at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-05-02 14:11 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org
            Summary|ice in instantiate_decl, at |[14 Regression] ICE in
                   |cp/pt.cc:27097              |instantiate_decl, at
                   |                            |cp/pt.cc:27097 since
                   |                            |r14-283-g95d4c0d2e6318a

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
So started with r14-283-g95d4c0d2e6318a.

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

* [Bug c++/109645] [14 Regression] ICE in instantiate_decl, at cp/pt.cc:27097 since r14-283-g95d4c0d2e6318a
  2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
                   ` (8 preceding siblings ...)
  2023-05-02 14:11 ` [Bug c++/109645] [14 Regression] ICE in instantiate_decl, at cp/pt.cc:27097 since r14-283-g95d4c0d2e6318a marxin at gcc dot gnu.org
@ 2023-05-05  1:09 ` jason at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: jason at gcc dot gnu.org @ 2023-05-05  1:09 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Dup.

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

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

end of thread, other threads:[~2023-05-05  1:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-27  9:25 [Bug c++/109645] New: ice in instantiate_decl, at cp/pt.cc:27097 dcb314 at hotmail dot com
2023-04-27  9:51 ` [Bug c++/109645] " dcb314 at hotmail dot com
2023-04-27  9:52 ` dcb314 at hotmail dot com
2023-04-27 10:52 ` dcb314 at hotmail dot com
2023-04-27 15:38 ` dcb314 at hotmail dot com
2023-04-27 16:11 ` dcb314 at hotmail dot com
2023-04-27 19:14 ` dcb314 at hotmail dot com
2023-04-28  5:58 ` sjames at gcc dot gnu.org
2023-04-28  5:58 ` sjames at gcc dot gnu.org
2023-05-02 14:11 ` [Bug c++/109645] [14 Regression] ICE in instantiate_decl, at cp/pt.cc:27097 since r14-283-g95d4c0d2e6318a marxin at gcc dot gnu.org
2023-05-05  1:09 ` 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).