* [Bug c++/91241] [8/9/10 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
@ 2020-04-20 21:58 ` mpolacek at gcc dot gnu.org
2020-09-11 13:08 ` [Bug c++/91241] [8/9/10/11 " mpolacek at gcc dot gnu.org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-04-20 21:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Ping, can we get this fixed in GCC 10?
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10/11 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
2020-04-20 21:58 ` [Bug c++/91241] [8/9/10 Regression] internal compiler error: symtab_node::verify failed mpolacek at gcc dot gnu.org
@ 2020-09-11 13:08 ` mpolacek at gcc dot gnu.org
2020-12-07 10:41 ` marxin at gcc dot gnu.org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-09-11 13:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tangyixuan at mail dot dlut.edu.cn
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
*** Bug 96975 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10/11 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
2020-04-20 21:58 ` [Bug c++/91241] [8/9/10 Regression] internal compiler error: symtab_node::verify failed mpolacek at gcc dot gnu.org
2020-09-11 13:08 ` [Bug c++/91241] [8/9/10/11 " mpolacek at gcc dot gnu.org
@ 2020-12-07 10:41 ` marxin at gcc dot gnu.org
2020-12-07 10:47 ` Jan Hubicka
2020-12-07 10:47 ` hubicka at ucw dot cz
` (10 subsequent siblings)
13 siblings, 1 reply; 15+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-07 10:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
@Marek: The callgraph checking error is correct.
If you disable it, you will likely see duplicate assembler names in GAS. And
that's the error that 2 symbol names clash.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10/11 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2020-12-07 10:41 ` marxin at gcc dot gnu.org
@ 2020-12-07 10:47 ` hubicka at ucw dot cz
2020-12-07 10:57 ` marxin at gcc dot gnu.org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: hubicka at ucw dot cz @ 2020-12-07 10:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
--- Comment #11 from Jan Hubicka <hubicka at ucw dot cz> ---
> @Marek: The callgraph checking error is correct.
> If you disable it, you will likely see duplicate assembler names in GAS. And
> that's the error that 2 symbol names clash.
Indeed, there are two lambdas, but I think C++ FE should assign them
different symbol names.
Honza
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10/11 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2020-12-07 10:47 ` hubicka at ucw dot cz
@ 2020-12-07 10:57 ` marxin at gcc dot gnu.org
2020-12-07 21:27 ` mpolacek at gcc dot gnu.org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-07 10:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
Btw. it started with r5-960-gd67ff7b75deab58eaac2edccafbc55d32f60ed0d.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10/11 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2020-12-07 10:57 ` marxin at gcc dot gnu.org
@ 2020-12-07 21:27 ` mpolacek at gcc dot gnu.org
2021-04-06 0:24 ` jason at gcc dot gnu.org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-12-07 21:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
--- Comment #13 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Ah, so a C++ front end issue after all. Thanks Martin & Honza.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10/11 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2020-12-07 21:27 ` mpolacek at gcc dot gnu.org
@ 2021-04-06 0:24 ` jason at gcc dot gnu.org
2021-04-06 4:13 ` cvs-commit at gcc dot gnu.org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-06 0:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10/11 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2021-04-06 0:24 ` jason at gcc dot gnu.org
@ 2021-04-06 4:13 ` cvs-commit at gcc dot gnu.org
2021-04-06 4:27 ` [Bug c++/91241] [8/9/10 " jason at gcc dot gnu.org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-06 4:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:55f40d968b0bd3be4478a9481e829a99ee0fa04f
commit r11-7998-g55f40d968b0bd3be4478a9481e829a99ee0fa04f
Author: Jason Merrill <jason@redhat.com>
Date: Mon Apr 5 22:50:44 2021 -0400
c++: mangling of lambdas in default args [PR91241]
In this testcase, the parms remembered in LAMBDA_EXPR_EXTRA_SCOPE are no
longer the parms of the FUNCTION_DECL they have as their DECL_CONTEXT, so
we
were mangling both lambdas as parm #0. But since the parms are numbered
from right to left we don't need to need to find them in the FUNCTION_DECL,
we can measure their own DECL_CHAIN.
gcc/cp/ChangeLog:
PR c++/91241
* mangle.c (write_compact_number): Add sanity check.
(write_local_name): Use list_length for parm number.
gcc/testsuite/ChangeLog:
PR c++/91241
* g++.dg/abi/lambda-defarg1.C: New test.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2021-04-06 4:13 ` cvs-commit at gcc dot gnu.org
@ 2021-04-06 4:27 ` jason at gcc dot gnu.org
2021-04-21 18:30 ` mpolacek at gcc dot gnu.org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-06 4:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |11.0
Summary|[8/9/10/11 Regression] |[8/9/10 Regression]
|internal compiler error: |internal compiler error:
|symtab_node::verify failed |symtab_node::verify failed
--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for GCC 11 so far.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [8/9/10 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2021-04-06 4:27 ` [Bug c++/91241] [8/9/10 " jason at gcc dot gnu.org
@ 2021-04-21 18:30 ` mpolacek at gcc dot gnu.org
2021-05-14 9:52 ` [Bug c++/91241] [9/10 " jakub at gcc dot gnu.org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-04-21 18:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xavier at cremaschi dot fr
--- Comment #16 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
*** Bug 89605 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [9/10 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2021-04-21 18:30 ` mpolacek at gcc dot gnu.org
@ 2021-05-14 9:52 ` jakub at gcc dot gnu.org
2021-06-01 8:14 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [9/10 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2021-05-14 9:52 ` [Bug c++/91241] [9/10 " jakub at gcc dot gnu.org
@ 2021-06-01 8:14 ` rguenth at gcc dot gnu.org
2022-05-13 17:13 ` cvs-commit at gcc dot gnu.org
2022-05-27 8:37 ` [Bug c++/91241] [9 " rguenth at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [9/10 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2021-06-01 8:14 ` rguenth at gcc dot gnu.org
@ 2022-05-13 17:13 ` cvs-commit at gcc dot gnu.org
2022-05-27 8:37 ` [Bug c++/91241] [9 " rguenth at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-13 17:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:a86e0cadefe5a2469bb9872bb5b93017ccb23935
commit r10-10734-ga86e0cadefe5a2469bb9872bb5b93017ccb23935
Author: Jason Merrill <jason@redhat.com>
Date: Mon Apr 5 22:50:44 2021 -0400
c++: mangling of lambdas in default args [PR91241]
In this testcase, the parms remembered in LAMBDA_EXPR_EXTRA_SCOPE are no
longer the parms of the FUNCTION_DECL they have as their DECL_CONTEXT, so
we
were mangling both lambdas as parm #0. But since the parms are numbered
from right to left we don't need to need to find them in the FUNCTION_DECL,
we can measure their own DECL_CHAIN.
gcc/cp/ChangeLog:
PR c++/91241
* mangle.c (write_compact_number): Add sanity check.
(write_local_name): Use list_length for parm number.
gcc/testsuite/ChangeLog:
PR c++/91241
* g++.dg/abi/lambda-defarg1.C: New test.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/91241] [9 Regression] internal compiler error: symtab_node::verify failed
[not found] <bug-91241-4@http.gcc.gnu.org/bugzilla/>
` (12 preceding siblings ...)
2022-05-13 17:13 ` cvs-commit at gcc dot gnu.org
@ 2022-05-27 8:37 ` rguenth at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 8:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.3
Known to fail| |10.2.1, 9.5.0
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #20 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in GCC 10.3.
^ permalink raw reply [flat|nested] 15+ messages in thread