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: [email protected]
          Reporter: [email protected]

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

--

Reply via email to