https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127891
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |easyhack
Ever confirmed|0 |1
Last reconfirmed| |2026-10-14
Status|UNCONFIRMED |NEW
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
region-model.cc:6302:
```
if (result
&& TREE_TYPE (result) != void_type_node
&& eval_return_svalue)
{
retval = get_rvalue (result, ctxt);
if (out_result)
*out_result = retval;
}
```
That direct comparison to void_type_node is the issue. It should be:
`!VOID_TYPE_P (TREE_TYPE (result))`. instead.