public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100899] New: internal compiler error: in retrieve_specialization, at cp/pt.c:1240
@ 2021-06-04 4:08 hans.p.erickson at gmail dot com
2021-06-04 4:09 ` [Bug c++/100899] " hans.p.erickson at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hans.p.erickson at gmail dot com @ 2021-06-04 4:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100899
Bug ID: 100899
Summary: internal compiler error: in retrieve_specialization,
at cp/pt.c:1240
Product: gcc
Version: 10.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hans.p.erickson at gmail dot com
Target Milestone: ---
Created attachment 50923
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50923&action=edit
Preprocessed output
Some template code that I am working on causes an internal compiler error with
the gcc 10 series of compilers. Based on some experimentation with the Compiler
Explorer site at godbolt.org it appears that this affects 10.1, 10.2, and 10.3,
but doesn't affect version 9 compilers or version 11 compilers. The link to the
code at godbolt.org is https://godbolt.org/z/svWW5Tq4r . The pre-processor
output that I've attached is from 10.2.
The attached output is from a compiler with the following properties:
gcc version 10.2.0 (GCC)
Target: x86_64-pc-linux-gnu
Configured with: ./configure --prefix=/home/hans/.local --enable-multilib
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/100899] internal compiler error: in retrieve_specialization, at cp/pt.c:1240
2021-06-04 4:08 [Bug c++/100899] New: internal compiler error: in retrieve_specialization, at cp/pt.c:1240 hans.p.erickson at gmail dot com
@ 2021-06-04 4:09 ` hans.p.erickson at gmail dot com
2021-06-07 18:38 ` [Bug c++/100899] [10 Regression] " ppalka at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: hans.p.erickson at gmail dot com @ 2021-06-04 4:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100899
Hans Erickson <hans.p.erickson at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hans.p.erickson at gmail dot com
--- Comment #1 from Hans Erickson <hans.p.erickson at gmail dot com> ---
Created attachment 50924
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50924&action=edit
Source code for regression testing (if useful)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/100899] [10 Regression] internal compiler error: in retrieve_specialization, at cp/pt.c:1240
2021-06-04 4:08 [Bug c++/100899] New: internal compiler error: in retrieve_specialization, at cp/pt.c:1240 hans.p.erickson at gmail dot com
2021-06-04 4:09 ` [Bug c++/100899] " hans.p.erickson at gmail dot com
@ 2021-06-07 18:38 ` ppalka at gcc dot gnu.org
2022-06-28 10:45 ` jakub at gcc dot gnu.org
2023-07-07 9:41 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-06-07 18:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100899
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2021-06-07
Known to fail| |10.1.0, 10.2.0, 10.3.0
Target Milestone|--- |10.4
Summary|internal compiler error: in |[10 Regression] internal
|retrieve_specialization, at |compiler error: in
|cp/pt.c:1240 |retrieve_specialization, at
| |cp/pt.c:1240
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=99009
CC| |ppalka at gcc dot gnu.org
Known to work| |11.1.0, 9.4.0
--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Confirmed. GCC 9 accepts the testcase. We began ICEing on it after r10-4719.
We began accepting it again after r11-7483.
Reduced:
template <typename> class Grammar {
public:
template <typename...> class Sequence {};
};
enum ValueType {};
class JsonGrammar : Grammar<ValueType> {
void integer() { Sequence(); }
};
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/100899] [10 Regression] internal compiler error: in retrieve_specialization, at cp/pt.c:1240
2021-06-04 4:08 [Bug c++/100899] New: internal compiler error: in retrieve_specialization, at cp/pt.c:1240 hans.p.erickson at gmail dot com
2021-06-04 4:09 ` [Bug c++/100899] " hans.p.erickson at gmail dot com
2021-06-07 18:38 ` [Bug c++/100899] [10 Regression] " ppalka at gcc dot gnu.org
@ 2022-06-28 10:45 ` jakub at gcc dot gnu.org
2023-07-07 9:41 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100899
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/100899] [10 Regression] internal compiler error: in retrieve_specialization, at cp/pt.c:1240
2021-06-04 4:08 [Bug c++/100899] New: internal compiler error: in retrieve_specialization, at cp/pt.c:1240 hans.p.erickson at gmail dot com
` (2 preceding siblings ...)
2022-06-28 10:45 ` jakub at gcc dot gnu.org
@ 2023-07-07 9:41 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 9:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100899
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|10.5 |11.0
Known to fail| |10.5.0
Status|NEW |RESOLVED
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in GCC 11.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-07 9:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 4:08 [Bug c++/100899] New: internal compiler error: in retrieve_specialization, at cp/pt.c:1240 hans.p.erickson at gmail dot com
2021-06-04 4:09 ` [Bug c++/100899] " hans.p.erickson at gmail dot com
2021-06-07 18:38 ` [Bug c++/100899] [10 Regression] " ppalka at gcc dot gnu.org
2022-06-28 10:45 ` jakub at gcc dot gnu.org
2023-07-07 9:41 ` rguenth 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).