[Issue 14323] Bad code generation in dfmt

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 30 17:31:00 PDT 2015


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

briancschott at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from briancschott at gmail.com ---
The code was calling bsf with an argument of 0, which is undefined. It behaved
consistently, and the version and optimization flags could change its return
value.

The real issue is that bsf is marked as a pure function when it isn't:
https://issues.dlang.org/show_bug.cgi?id=14380

--


More information about the Digitalmars-d-bugs mailing list