[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933 Jakub Jelinek changed: What|Removed |Added Target Milestone|8.5 |9.4 --- Comment #8 from Jakub Jelinek --- GCC 8 branch is being closed.
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:59d821d3cce3496b3f4ede6293ffe192d0e56014 commit r10-9853-g59d821d3cce3496b3f4ede6293ffe192d0e56014 Author: Jason Merrill 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.
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933 Richard Biener changed: What|Removed |Added Target Milestone|9.4 |9.5 --- Comment #10 from Richard Biener --- GCC 9.4 is being released, retargeting bugs to GCC 9.5.