www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: andre lc.vlsm.org



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: -------
Nov 09 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8987




Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2f2b2a125b607cf822eee214052d8238a740eeaf
fix Issue 8987 - Compiling using -O -release options yield Internal error:
backend\cgcod.c 1663

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 15 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8987


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
            Version|D2                          |D1 & D2
         Resolution|                            |FIXED
            Summary|Compiling using "-O         |Compiling using '-O
                   |-release" options yeild     |-release' options yield
                   |"Internal error:            |'Internal error:
                   |backend\cgcod.c 1663"       |backend\cgcod.c 1663'


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 15 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8987




Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/ebbf254c4ed938e9e3b29e688ba5d07098696e5e
fix Issue 8987 - Compiling using -O -release options yield Internal error:
backend\cgcod.c 1663

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