www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5755] New: Internal error in cgcs.c

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

           Summary: Internal error in cgcs.c
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



struct Foo { int x; }
int[1] bar(Foo f) {
    return [f.x];
}
void main() {
    int y = bar(Foo())[0];
}



DMD 2.052 shows:
Internal error: ..\ztc\cgcs.c 359

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


kennytm gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kennytm gmail.com
         Resolution|                            |DUPLICATE



Obviously the same class of bug you've reported 8 months ago.

*** This issue has been marked as a duplicate of issue 4414 ***

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





 Obviously the same class of bug you've reported 8 months ago.
I am sorry, and thank you for spotting the duplication :-) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 19 2011