www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7976] New: ICE(backend/cg87.c)assignment btw two elements of dynamic array of complex number types

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

           Summary: ICE(backend/cg87.c)assignment btw two elements of
                    dynamic array of complex number types
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: k.hanazuki gmail.com



PDT ---
Assignment expressions whose both hand sides are elements of some dynamic
arrays of complex number types, causes ICE on dmd backend when their return
value is used.

  Internal error: backend/cg87.c 331

Tested against git HEAD (v2.060).


This is minimal sample:
----

void main() {
    creal[] a = new creal[2];
    auto b = a[0] = a[1];
}

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


Walter Bright <bugzilla digitalmars.com> changed:

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



20:23:13 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2629

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




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

https://github.com/D-Programming-Language/dmd/commit/1ca222de4bb4df99c8af3b6eb6c3dd0b69e2890d
fix
Issue 7976 - ICE(backend/cg87.c)assignment btw two elements of dynamic array of
complex number types

https://github.com/D-Programming-Language/dmd/commit/f756c2c8da696c2462df5df2f29bf1ae0cc99b65


fix Issue 7976 - ICE(backend/cg87.c)assignment btw two elements of dynamic
array of complex number types

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




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

https://github.com/D-Programming-Language/dmd/commit/7ea1aba981286bf6f9f17850b86d8fc1d9f32a23


fix Issue 7976 - ICE(backend/cg87.c)assignment btw two elements of dynamic
array of complex number types

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


Walter Bright <bugzilla digitalmars.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: -------
Oct 08 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7976




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

https://github.com/D-Programming-Language/dmd/commit/7fada1280f932e39ac14df9075d19f9ea5a5ceb8
add test case for fix issue 7976

https://github.com/D-Programming-Language/dmd/commit/109dce8959e49a31eb37cdd82297734af2b43f7b


add test case for fix issue 7976

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