[Bug d/123049] d: ICE in gimplify_var_or_parm_decl passing noreturn variable by reference

ibuclaw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 18 08:26:16 GMT 2026


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

--- Comment #1 from Iain Buclaw <ibuclaw at gcc dot gnu.org> ---
Variant that fails with -fno-assert only.

```
module object;
alias noreturn = typeof(*null);
void main()
{
    void function(noreturn) fun;
    noreturn bar;
    fun(bar);
}
```


More information about the Gcc-bugs mailing list