* [Bug c++/96162] [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
@ 2020-07-13 7:58 ` rguenth at gcc dot gnu.org
2020-07-14 14:19 ` haoxintu at gmail dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-07-13 7:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
2020-07-13 7:58 ` [Bug c++/96162] " rguenth at gcc dot gnu.org
@ 2020-07-14 14:19 ` haoxintu at gmail dot com
2020-10-16 11:58 ` rguenth at gcc dot gnu.org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: haoxintu at gmail dot com @ 2020-07-14 14:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
--- Comment #1 from Haoxin Tu <haoxintu at gmail dot com> ---
Add a more case.
$cat p.cc
#include <iostream>
int a() {
for (static int & b) {}
}
$g++ p.cc
test.cc: In function ‘int a()’:
test.cc:3:24: error: expected ‘;’ before ‘)’ token
3 | for (static int & b) {}
| ^
| ;
test.cc:3:24: error: expected primary-expression before ‘)’ token
test.cc:3:24: error: expected ‘;’ before ‘)’ token
3 | for (static int & b) {}
| ^
| ;
during GIMPLE pass: *build_cgraph_edges
test.cc:3:23: internal compiler error: in discriminator_for_local_entity, at
cp/mangle.c:1910
3 | for (static int & b) {}
| ^
0x63316d discriminator_for_local_entity
../../gcc/cp/mangle.c:1910
This time GCC emits "during GIMPLE pass: *build_cgraph_edges" first and then
triggers the ICE.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
2020-07-13 7:58 ` [Bug c++/96162] " rguenth at gcc dot gnu.org
2020-07-14 14:19 ` haoxintu at gmail dot com
@ 2020-10-16 11:58 ` rguenth at gcc dot gnu.org
2021-04-27 11:39 ` [Bug c++/96162] [11/12 " jakub at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-16 11:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [11/12 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (2 preceding siblings ...)
2020-10-16 11:58 ` rguenth at gcc dot gnu.org
@ 2021-04-27 11:39 ` jakub at gcc dot gnu.org
2021-07-28 7:04 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.0 |11.2
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [11/12 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (3 preceding siblings ...)
2021-04-27 11:39 ` [Bug c++/96162] [11/12 " jakub at gcc dot gnu.org
@ 2021-07-28 7:04 ` rguenth at gcc dot gnu.org
2021-09-10 23:44 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28 7:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.2 |11.3
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.2 is being released, retargeting bugs to GCC 11.3
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [11/12 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (4 preceding siblings ...)
2021-07-28 7:04 ` rguenth at gcc dot gnu.org
@ 2021-09-10 23:44 ` pinskia at gcc dot gnu.org
2021-09-10 23:50 ` [Bug c++/96162] [9/10/11/12 " pinskia at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-10 23:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-09-10
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [9/10/11/12 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (5 preceding siblings ...)
2021-09-10 23:44 ` pinskia at gcc dot gnu.org
@ 2021-09-10 23:50 ` pinskia at gcc dot gnu.org
2021-09-10 23:50 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-10 23:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
Target Milestone|11.3 |9.5
Summary|[11/12 Regression] ICE in |[9/10/11/12 Regression] ICE
|discriminator_for_local_ent |in
|ity, at cp/mangle.c:1910 |discriminator_for_local_ent
| |ity, at cp/mangle.c:1910
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This only ICEs with checking enabled as:
gcc_checking_assert (DECL_ARTIFICIAL (entity));
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [9/10/11/12 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (6 preceding siblings ...)
2021-09-10 23:50 ` [Bug c++/96162] [9/10/11/12 " pinskia at gcc dot gnu.org
@ 2021-09-10 23:50 ` pinskia at gcc dot gnu.org
2022-05-27 9:43 ` [Bug c++/96162] [10/11/12/13 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-10 23:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |trivial
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [10/11/12/13 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (7 preceding siblings ...)
2021-09-10 23:50 ` pinskia at gcc dot gnu.org
@ 2022-05-27 9:43 ` rguenth at gcc dot gnu.org
2022-06-28 10:41 ` jakub at gcc dot gnu.org
2023-07-07 10:37 ` [Bug c++/96162] [11/12/13/14 " rguenth at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/96162] [10/11/12/13 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (8 preceding siblings ...)
2022-05-27 9:43 ` [Bug c++/96162] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:41 ` jakub at gcc dot gnu.org
2023-07-07 10:37 ` [Bug c++/96162] [11/12/13/14 " rguenth at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #7 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] 12+ messages in thread
* [Bug c++/96162] [11/12/13/14 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910
2020-07-11 5:58 [Bug c++/96162] New: [11 Regression] ICE in discriminator_for_local_entity, at cp/mangle.c:1910 haoxintu at gmail dot com
` (9 preceding siblings ...)
2022-06-28 10:41 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:37 ` rguenth at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96162
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 12+ messages in thread