www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 618] New: The following program crashes dmd.exe 0.175

reply d-bugmail puremagic.com writes:
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;
}


-- 
Nov 29 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 -----BEGIN PGP SIGNATURE----- iD8DBQFFbfukLK5blCcjpWoRAtpUAJ9VzukvGuVlEtBHsRfTbyCeGc+YugCdHT8q LD8DCLefbQE7xIDokcFd+Ec= =28Qy -----END PGP SIGNATURE-----
Nov 29 2006
prev sibling next sibling parent Kirk McDonald <kirklin.mcdonald gmail.com> writes:
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
Nov 29 2006
prev sibling parent d-bugmail puremagic.com writes:
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.


-- 
Dec 03 2006