* [Bug c++/91933] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
@ 2021-04-12 21:34 ` jason at gcc dot gnu.org
2021-04-13 12:26 ` cvs-commit at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-12 21:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933
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] 8+ messages in thread
* [Bug c++/91933] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
2021-04-12 21:34 ` [Bug c++/91933] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541 jason at gcc dot gnu.org
@ 2021-04-13 12:26 ` cvs-commit at gcc dot gnu.org
2021-04-13 12:29 ` [Bug c++/91933] [8/9/10 " jason at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-13 12:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933
--- Comment #6 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:0851ac6df0596df1e3b640e58094cf94ebb790b8
commit r11-8151-g0851ac6df0596df1e3b640e58094cf94ebb790b8
Author: Jason Merrill <jason@redhat.com>
Date: Mon Apr 12 17:43:51 2021 -0400
c++: constexpr, inheritance, and local class [PR91933]
Here we complained about referring to nm3 from the local class member
function because referring to the base class subobject involved taking the
variable's address. Let's shortcut this case to avoid that.
gcc/cp/ChangeLog:
PR c++/91933
* class.c (build_base_path): Shortcut simple non-pointer case.
gcc/testsuite/ChangeLog:
PR c++/91933
* g++.dg/cpp0x/constexpr-base7.C: New test.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/91933] [8/9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
2021-04-12 21:34 ` [Bug c++/91933] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541 jason at gcc dot gnu.org
2021-04-13 12:26 ` cvs-commit at gcc dot gnu.org
@ 2021-04-13 12:29 ` jason at gcc dot gnu.org
2021-05-14 9:52 ` [Bug c++/91933] [9/10 " jakub at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-13 12:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |11.0
Summary|[8/9/10/11 Regression] ICE: |[8/9/10 Regression] ICE:
|tree check: expected class |tree check: expected class
|'type', have 'exceptional' |'type', have 'exceptional'
|(error_mark) in |(error_mark) in
|build_simple_base_path, at |build_simple_base_path, at
|cp/class.c:541 |cp/class.c:541
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 11 so far.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/91933] [9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-04-13 12:29 ` [Bug c++/91933] [8/9/10 " jason at gcc dot gnu.org
@ 2021-05-14 9:52 ` jakub at gcc dot gnu.org
2021-05-20 21:35 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ 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=91933
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/91933] [9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-05-14 9:52 ` [Bug c++/91933] [9/10 " jakub at gcc dot gnu.org
@ 2021-05-20 21:35 ` cvs-commit at gcc dot gnu.org
2021-06-01 8:15 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-20 21:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933
--- Comment #9 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:59d821d3cce3496b3f4ede6293ffe192d0e56014
commit r10-9853-g59d821d3cce3496b3f4ede6293ffe192d0e56014
Author: Jason Merrill <jason@redhat.com>
Date: Mon Apr 12 17:43:51 2021 -0400
c++: constexpr, inheritance, and local class [PR91933]
Here we complained about referring to nm3 from the local class member
function because referring to the base class subobject involved taking the
variable's address. Let's shortcut this case to avoid that.
gcc/cp/ChangeLog:
PR c++/91933
* class.c (build_base_path): Shortcut simple non-pointer case.
gcc/testsuite/ChangeLog:
PR c++/91933
* g++.dg/cpp0x/constexpr-base7.C: New test.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/91933] [9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2021-05-20 21:35 ` cvs-commit at gcc dot gnu.org
@ 2021-06-01 8:15 ` rguenth at gcc dot gnu.org
2022-05-13 17:40 ` [Bug c++/91933] [9 " cvs-commit at gcc dot gnu.org
2022-05-13 17:43 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #10 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] 8+ messages in thread
* [Bug c++/91933] [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2021-06-01 8:15 ` rguenth at gcc dot gnu.org
@ 2022-05-13 17:40 ` cvs-commit at gcc dot gnu.org
2022-05-13 17:43 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-13 17:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:370440f9f9860b59686138cf5213601cf6dda812
commit r9-10163-g370440f9f9860b59686138cf5213601cf6dda812
Author: Jason Merrill <jason@redhat.com>
Date: Mon Apr 12 17:43:51 2021 -0400
c++: constexpr, inheritance, and local class [PR91933]
Here we complained about referring to nm3 from the local class member
function because referring to the base class subobject involved taking the
variable's address. Let's shortcut this case to avoid that.
gcc/cp/ChangeLog:
PR c++/91933
* class.c (build_base_path): Shortcut simple non-pointer case.
gcc/testsuite/ChangeLog:
PR c++/91933
* g++.dg/cpp0x/constexpr-base7.C: New test.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/91933] [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541
[not found] <bug-91933-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2022-05-13 17:40 ` [Bug c++/91933] [9 " cvs-commit at gcc dot gnu.org
@ 2022-05-13 17:43 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2022-05-13 17:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 9.5/10.4/11.
^ permalink raw reply [flat|nested] 8+ messages in thread