www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11596] New: Internal error: backend/cgcs.c 351

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

           Summary: Internal error: backend/cgcs.c 351
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: nilsbossung googlemail.com


--- Comment #0 from Nils <nilsbossung googlemail.com> 2013-11-24 13:11:54 PST
---
Works: DMD64 D Compiler v2.064
Fails: DMD64 D Compiler v2.065-devel-4733291 (just git head, not the offending
commit)

---
cat > test.d << code
version(real_) alias M = real;
else version(static_array) alias M = int[2]; /* or other T[n] with n != 1 */

struct S {M m;}
S f() {assert(false);}

class C
{
    S[1] ss; /* Here, size doesn't matter. */
    this() {ss[] = f();}
}
code
echo real_; dmd -c -version=real_ test.d
echo static_array; dmd -c -version=static_array test.d
---
real_
Internal error: backend/cgcs.c 351
static_array
Internal error: backend/cgcs.c 351
---

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 24 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11596


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
            Version|unspecified                 |D2


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-11-28 20:18:59 PST ---
https://github.com/D-Programming-Language/dmd/pull/2898

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 28 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11596



--- Comment #2 from github-bugzilla puremagic.com 2013-11-30 04:51:00 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/19029185e1c101e168b705601e99da74ef768f03
fix Issue 11596 - Internal error: backend/cgcs.c 351

https://github.com/D-Programming-Language/dmd/commit/3e24a38c2f3817819b9c293849f70e758ff68eea
Merge pull request #2898 from 9rnsr/fix11596

[REG2.065a] Issue 11596 - Internal error: backend/cgcs.c 351

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 30 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11596


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

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


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