Thread overview
[Issue 618] New: The following program crashes dmd.exe 0.175
Nov 29, 2006
d-bugmail
Nov 29, 2006
Thomas Kuehne
Nov 29, 2006
Kirk McDonald
Dec 03, 2006
d-bugmail
November 29, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=618

           Summary: The following program crashes dmd.exe 0.175
           Product: D
           Version: 0.175
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: boris.kolar@globera.com


struct Foo(T) {}

int main(char[][] args) {
        if ((Foo!(char)).init == (Foo!(char)).init) return 1;
        return 0;
}


-- 

November 29, 2006
d-bugmail@puremagic.com schrieb am 2006-11-29:
> http://d.puremagic.com/issues/show_bug.cgi?id=618

> struct Foo(T) {}
>
> int main(char[][] args) {
>         if ((Foo!(char)).init == (Foo!(char)).init) return 1;
>         return 0;
> }

Added to DStress as http://dstress.kuehne.cn/run/b/bug_optimize_294_A.d http://dstress.kuehne.cn/run/b/bug_optimize_294_B.d http://dstress.kuehne.cn/run/b/bug_optimize_294_C.d http://dstress.kuehne.cn/run/b/bug_optimize_294_D.d http://dstress.kuehne.cn/run/b/bug_optimize_294_E.d http://dstress.kuehne.cn/run/b/bug_optimize_294_F.d http://dstress.kuehne.cn/run/b/bug_optimize_294_G.d http://dstress.kuehne.cn/run/b/bug_optimize_294_H.d http://dstress.kuehne.cn/run/b/bug_optimize_294_I.d http://dstress.kuehne.cn/run/b/bug_optimize_294_J.d http://dstress.kuehne.cn/run/b/bug_optimize_294_K.d

Thomas


November 29, 2006
d-bugmail@puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=618
> 
>            Summary: The following program crashes dmd.exe 0.175
>            Product: D
>            Version: 0.175
>           Platform: PC
>         OS/Version: Windows
>             Status: NEW
>           Severity: major
>           Priority: P2
>          Component: DMD
>         AssignedTo: bugzilla@digitalmars.com
>         ReportedBy: boris.kolar@globera.com
> 
> 
> struct Foo(T) {}
> 
> int main(char[][] args) {
>         if ((Foo!(char)).init == (Foo!(char)).init) return 1;
>         return 0;
> }
> 
> 

Preliminary tests suggest that this is the same problem preventing Pyd from compiling under 0.175.

-- 
Kirk McDonald
Pyd: Wrapping Python with D
http://pyd.dsource.org
December 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=618


deewiant@gmail.com changed:

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




------- Comment #3 from deewiant@gmail.com  2006-12-03 04:10 -------
Fixed in DMD 0.176.


--