Thread overview
[Issue 22148] noreturn ICE on templates
Aug 09, 2021
kinke
Sep 06, 2021
Temtaime
August 08, 2021
https://issues.dlang.org/show_bug.cgi?id=22148

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #1 from hsteoh@quickfur.ath.cx ---
Reproduced problem on latest git 9fb279b9ce80240cc54f82825138ffcee4ff8303

Output:
--------
dmd: src/dmd/backend/cod1.d:4052: Assertion `retregs || !*pretregs' failed. Aborted
--------

Looks like bug in backend.

--
August 09, 2021
https://issues.dlang.org/show_bug.cgi?id=22148

kinke <kinke@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend
                 CC|                            |kinke@gmx.net

--- Comment #2 from kinke <kinke@gmx.net> ---
(In reply to hsteoh from comment #1)
> Looks like bug in backend.

Yep, works with LDC.

--
September 06, 2021
https://issues.dlang.org/show_bug.cgi?id=22148

Temtaime <temtaime@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--
October 12, 2021
https://issues.dlang.org/show_bug.cgi?id=22148

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg
         Resolution|---                         |WORKSFORME

--- Comment #3 from moonlightsentinel@disroot.org ---
Tested with current master (2bd3d7d5eb682cf238cffbee2e1ac1bad8cd2225).

Probably fixed as a side effect of https://github.com/dlang/dmd/pull/13135.

--