[Issue 8987] New: Compiling using "-O -release" options yeild "Internal error: backend\cgcod.c 1663"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 9 07:17:32 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8987

           Summary: Compiling using "-O -release" options yeild "Internal
                    error: backend\cgcod.c 1663"
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andre at lc.vlsm.org


--- Comment #0 from Andre Tampubolon <andre at lc.vlsm.org> 2012-11-09 07:17:30 PST ---
Created an attachment (id=1159)
Calculate the 10001st prime

I found a PHP code to calculate the 10001st prime number is:
http://kahthong.com/2011/12/project-euler-problem-7

and translated that into D (attached).

Compiling with -O and -release options yield this error message:
Internal error: backend\cgcod.c 1663

But either -O or -release works fine (no compilation error).

dmd it the latest from git.

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


More information about the Digitalmars-d-bugs mailing list