Bug 16350 – Error: function core.checkedint.muls cannot inline function

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-08-02T20:50:39Z
Last change time
2024-12-07T13:36:50Z
Assigned to
No Owner
Creator
bigepsilonftw
Moved to GitHub: dmd#17333 →

Comments

Comment #0 by bigepsilonftw — 2016-08-02T20:50:39Z
Hi, This simple program compiles well in debug mode with dmd (DMD64 D Compiler v2.071.1), but give me an error when I compile in release mode: /usr/include/dmd/druntime/import/core/checkedint.d(416,6): Error: function core.checkedint.muls cannot inline function import core.checkedint; void main() { ulong a = 1; ulong b =2; bool ovf; muls(a, b, ovf); } PS: it compiles with ldc2
Comment #1 by robert.schadek — 2024-12-07T13:36:50Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17333 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB