www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10106] New: [ICE][DIAGNOSTIC] Ice in glue.c:1215 + 2 error messages without lines

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106

           Summary: [ICE][DIAGNOSTIC] Ice in glue.c:1215 + 2 error
                    messages without lines
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: dmitry.olsh gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-05-17
08:31:08 PDT ---
struct GcPolicy{ }

alias InversionList!GcPolicy CodepointSet;

struct InversionList(SP=GcPolicy)
{
Uint24Array!SP data;
}

struct Uint24Array(SP=GcPolicy)
{
    this(this)
    {

    }
}

struct PropertyTable
{
    CodepointSet[string] table;
}


This sample was obtained with dustmite.
Compiling the above with git HEAD dmd (both win32/linux) yields:

Error: mutable method
gen_uni.InversionList!(GcPolicy).InversionList.__fieldPostBlit is not callable
using a const object
Error: cannot modify struct this Slot with immutable members
Assertion failure: '0' on line 1215 in file 'glue.c'

abnormal program termination

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[ICE][DIAGNOSTIC] Ice in    |[ICE] Ice in glue.c:1215 +
                   |glue.c:1215 + 2 error       |2 error messages without
                   |messages without lines      |lines
           Severity|critical                    |regression


--- Comment #1 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-05-19
04:25:51 PDT ---
Compiles fine in 2.062 so this is a regression.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2013-05-20 06:29:20 PDT ---
Add workaround in druntime.
https://github.com/D-Programming-Language/druntime/pull/490

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com


--- Comment #3 from Walter Bright <bugzilla digitalmars.com> 2013-05-20
20:58:58 PDT ---
Fix assert fail:

https://github.com/D-Programming-Language/dmd/pull/2055

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106



--- Comment #4 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-05-20
22:48:54 PDT ---
(In reply to comment #3)
 Fix assert fail:
 
 https://github.com/D-Programming-Language/dmd/pull/2055
Why the test is 'fail compilation' when it did compile before 2.063? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106



--- Comment #5 from github-bugzilla puremagic.com 2013-05-20 23:56:09 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/ee8aeeb3b6620bc2b3af0328194d864ede369e0a
fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines

Workaround for const postblit issue with AA.

https://github.com/D-Programming-Language/druntime/commit/9ad245c5b71dbaba03bd75331fc62b652c6d9ca1
Merge pull request #490 from 9rnsr/fix10106

Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106



--- Comment #6 from github-bugzilla puremagic.com 2013-05-20 23:57:28 PDT ---
Commit pushed to 2.063 at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/5165b6a46e98a7b7cff404b4aee5b0fe4d67bc71
Merge pull request #490 from 9rnsr/fix10106

Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106



--- Comment #7 from github-bugzilla puremagic.com 2013-05-21 09:38:19 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/17e412b5fc19646b5f1db67002cf1a914ed4ed59
fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines

https://github.com/D-Programming-Language/dmd/commit/98e8922b980ac0cf9994800342ee3dc53a210408
Merge pull request #2055 from WalterBright/fix10106

fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without li...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 21 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106



--- Comment #8 from github-bugzilla puremagic.com 2013-05-23 00:22:40 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4d42bf6d5c8545959b1a87b40815b6a9e3fdfe5a
fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines

https://github.com/D-Programming-Language/dmd/commit/3e61f34dd63b01c7e70918fe1262c606c2445bc5
Merge pull request #2067 from 9rnsr/fix10106

[test only] Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without
lines

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 23 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106


Kenji Hara <k.hara.pg gmail.com> changed:

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


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 23 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10106



--- Comment #9 from github-bugzilla puremagic.com 2013-05-23 00:58:30 PDT ---
Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/9298d34981d5a828e29050432cfb87c026cbb2be
Merge pull request #2067 from 9rnsr/fix10106

[test only] Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without
lines

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