[Bug c++/120314] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_internal_context_p, at cp/tree.cc:3866
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120314 Andrew Pinski changed: What|Removed |Added Known to fail||13.1.0 Last reconfirmed||2025-05-17 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Andrew Pinski --- Confirmed. With my reduced testcase it ICEs further back. Note starting in GCC 13.1.0 the ICE changes to: :3:3: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_internal_context_p, at cp/tree.cc:3880 From: :3:3: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.cc:3844
[Bug c++/120314] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_internal_context_p, at cp/tree.cc:3866 only in trunk and 15.1 with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120314 --- Comment #2 from Andrew Pinski --- Created attachment 61448 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61448&action=edit Reduced testcase
[Bug c++/120314] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_internal_context_p, at cp/tree.cc:3866 only in trunk and 15.1 with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120314 --- Comment #1 from Andrew Pinski --- Reducing. It is taking longer because I don't want to run into any other unrelated issues.
