Thread overview
[Issue 5755] New: Internal error in cgcs.c
Mar 19, 2011
kennytm@gmail.com
March 19, 2011
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


--- Comment #0 from bearophile_hugs@eml.cc 2011-03-19 16:07:51 PDT ---
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: -------
March 19, 2011
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


--- Comment #1 from kennytm@gmail.com 2011-03-19 16:47:22 PDT ---
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: -------
March 20, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5755



--- Comment #2 from bearophile_hugs@eml.cc 2011-03-19 17:06:50 PDT ---
(In reply to comment #1)
> 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: -------