public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148
@ 2021-06-01 11:01 iii at linux dot ibm.com
2021-06-01 11:03 ` [Bug c++/100853] " iii at linux dot ibm.com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: iii at linux dot ibm.com @ 2021-06-01 11:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
Bug ID: 100853
Summary: internal compiler error: in cp_tree_equal, at
cp/tree.c:4148
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iii at linux dot ibm.com
Target Milestone: ---
$ cat cp-tree-equal.cpp
typedef struct a *b;
template <typename> struct c
{ d({
b *e; __typeof (*({
__typeof *e f;
f} )).g const f (({ __typeof (*({
int h;
f} )).g const f (
$ gcc/cc1plus -fno-PIE -g -O2 -fno-checking -gtoggle -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables cp-tree-equal.cpp
...
cp-tree-equal.cpp:8:37: internal compiler error: in cp_tree_equal, at
cp/tree.c:4148
8 | f} )).g const f (
| ^
0x7062e9 cp_tree_equal(tree_node*, tree_node*)
../../gcc/cp/tree.c:4148
0xbd1d3e cp_tree_equal(tree_node*, tree_node*)
../../gcc/cp/tree.c:4138
0xbd1d3e cp_tree_equal(tree_node*, tree_node*)
../../gcc/cp/tree.c:4138
0xbd1d3e cp_tree_equal(tree_node*, tree_node*)
../../gcc/cp/tree.c:4138
0xbd1d3e cp_tree_equal(tree_node*, tree_node*)
../../gcc/cp/tree.c:4138
0xbdc784 structural_comptypes
../../gcc/cp/typeck.c:1491
0xae2ffc check_local_shadow
../../gcc/cp/name-lookup.c:3264
0xae2ffc do_pushdecl
../../gcc/cp/name-lookup.c:3773
0xae39b4 pushdecl(tree_node*, bool)
../../gcc/cp/name-lookup.c:3852
0xa3995e start_decl(cp_declarator const*, cp_decl_specifier_seq*, int,
tree_node*, tree_node*, tree_node**)
../../gcc/cp/decl.c:5591
0xb2dd61 cp_parser_init_declarator
../../gcc/cp/parser.c:21802
0xb093cd cp_parser_simple_declaration
../../gcc/cp/parser.c:14487
0xb0b0a9 cp_parser_declaration_statement
../../gcc/cp/parser.c:13622
0xb0bc0b cp_parser_statement
../../gcc/cp/parser.c:11848
0xb0ce0e cp_parser_statement_seq_opt
../../gcc/cp/parser.c:12215
0xb0cee8 cp_parser_compound_statement
../../gcc/cp/parser.c:12164
0xb10473 cp_parser_statement_expr
../../gcc/cp/parser.c:5142
0xb10473 cp_parser_primary_expression
../../gcc/cp/parser.c:5549
0xb11b80 cp_parser_postfix_expression
../../gcc/cp/parser.c:7528
0xb243af cp_parser_unary_expression
../../gcc/cp/parser.c:8849
Found when reducing a testcase for another problem.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/100853] internal compiler error: in cp_tree_equal, at cp/tree.c:4148
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
@ 2021-06-01 11:03 ` iii at linux dot ibm.com
2021-08-12 23:17 ` [Bug c++/100853] [11/12 Regression] " pinskia at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: iii at linux dot ibm.com @ 2021-06-01 11:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
--- Comment #1 from Ilya Leoshkevich <iii at linux dot ibm.com> ---
Created attachment 50903
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50903&action=edit
repro
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
2021-06-01 11:03 ` [Bug c++/100853] " iii at linux dot ibm.com
@ 2021-08-12 23:17 ` pinskia at gcc dot gnu.org
2021-08-12 23:17 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-12 23:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |10.1.0, 8.3.0
Status|UNCONFIRMED |NEW
Summary|internal compiler error: in |[11/12 Regression] internal
|cp_tree_equal, at |compiler error: in
|cp/tree.c:4148 |cp_tree_equal, at
| |cp/tree.c:4148
Known to fail| |11.1.0
Keywords| |error-recovery,
| |ice-on-invalid-code
Ever confirmed|0 |1
Last reconfirmed| |2021-08-12
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
2021-06-01 11:03 ` [Bug c++/100853] " iii at linux dot ibm.com
2021-08-12 23:17 ` [Bug c++/100853] [11/12 Regression] " pinskia at gcc dot gnu.org
@ 2021-08-12 23:17 ` pinskia at gcc dot gnu.org
2022-01-20 12:59 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-12 23:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |trivial
Target Milestone|--- |11.3
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
` (2 preceding siblings ...)
2021-08-12 23:17 ` pinskia at gcc dot gnu.org
@ 2022-01-20 12:59 ` rguenth at gcc dot gnu.org
2022-01-31 14:53 ` [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148 since r11-2275-g5324a3e621d9a2ee marxin at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-20 12:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148 since r11-2275-g5324a3e621d9a2ee
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
` (3 preceding siblings ...)
2022-01-20 12:59 ` rguenth at gcc dot gnu.org
@ 2022-01-31 14:53 ` marxin at gcc dot gnu.org
2022-04-21 7:49 ` rguenth at gcc dot gnu.org
2023-05-29 10:05 ` [Bug c++/100853] [11/12/13/14 " jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-31 14:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-bisection |
Summary|[11/12 Regression] internal |[11/12 Regression] internal
|compiler error: in |compiler error: in
|cp_tree_equal, at |cp_tree_equal, at
|cp/tree.c:4148 |cp/tree.c:4148 since
| |r11-2275-g5324a3e621d9a2ee
CC| |marxin at gcc dot gnu.org,
| |nathan at gcc dot gnu.org
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-2275-g5324a3e621d9a2ee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148 since r11-2275-g5324a3e621d9a2ee
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
` (4 preceding siblings ...)
2022-01-31 14:53 ` [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148 since r11-2275-g5324a3e621d9a2ee marxin at gcc dot gnu.org
@ 2022-04-21 7:49 ` rguenth at gcc dot gnu.org
2023-05-29 10:05 ` [Bug c++/100853] [11/12/13/14 " jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21 7:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.3 |11.4
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/100853] [11/12/13/14 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148 since r11-2275-g5324a3e621d9a2ee
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
` (5 preceding siblings ...)
2022-04-21 7:49 ` rguenth at gcc dot gnu.org
@ 2023-05-29 10:05 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100853
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.4 |11.5
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-05-29 10:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 11:01 [Bug c++/100853] New: internal compiler error: in cp_tree_equal, at cp/tree.c:4148 iii at linux dot ibm.com
2021-06-01 11:03 ` [Bug c++/100853] " iii at linux dot ibm.com
2021-08-12 23:17 ` [Bug c++/100853] [11/12 Regression] " pinskia at gcc dot gnu.org
2021-08-12 23:17 ` pinskia at gcc dot gnu.org
2022-01-20 12:59 ` rguenth at gcc dot gnu.org
2022-01-31 14:53 ` [Bug c++/100853] [11/12 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:4148 since r11-2275-g5324a3e621d9a2ee marxin at gcc dot gnu.org
2022-04-21 7:49 ` rguenth at gcc dot gnu.org
2023-05-29 10:05 ` [Bug c++/100853] [11/12/13/14 " jakub 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).