[Issue 11723] New: Too many "integer overflow" errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 10 22:36:43 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11723

           Summary: Too many "integer overflow" errors
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-12-10 22:36:31 PST ---
ulong v1 = 0xFFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FFFF;

Prints:

With 2.064.2 ----
test.d(1): Error: integer overflow

With git-head:
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow
test.d(1): Error: integer overflow

Introduced by:
https://github.com/D-Programming-Language/dmd/pull/2925

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list