[Issue 17399] New: core.checkedint.addu cannot inline function

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 15 12:21:46 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17399

          Issue ID: 17399
           Summary: core.checkedint.addu cannot inline function
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: thomas.bockman at gmail.com

core.checkedint is broken with dmd master (2.075):

void main()
{
    import core.checkedint;
    size_t a, b;
    bool over;
    addu(a, b, over);
}

The above program fails to compile in release mode:

    Error: function core.checkedint.addu cannot inline function

--


More information about the Digitalmars-d-bugs mailing list