[Bug c++/125711] [14/15/16/17 Regression] internal compiler error: tree check: expected class 'expression', have 'declaration' (var_decl) in tree_operand_check, at tree.h:4349

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 10 14:47:31 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125711

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #2)
> Started with r15-2074:
> 
> commit d1706235ed2b274a2d1fa3c3039b5874b4ae7a0e
> Author: Iain Sandoe <iain@sandoe.co.uk>
> Date:   Sat Jun 15 17:47:33 2024 +0100
> 
>     c++, coroutines, contracts: Handle coroutine and void functions
> [PR110871,PR110872,PR115434].

hmm .. the reduced case involves neither coroutines nor contracts;  I will try
to repo. locally and take an initial look.


More information about the Gcc-bugs mailing list