www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 158] New: weird crash when nesting unions and structs; code order dependent

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

           Summary: weird crash when nesting unions and structs; code order
                    dependent
           Product: D
           Version: 0.159
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: h3r3tic mat.uni.torun.pl


struct Bar {
    union {
        struct {
            union {
                Foo A;
            }
        }
    }
}

struct Foo {
}


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

d-bugmail puremagic.com schrieb am 2006-05-27:
 http://d.puremagic.com/bugzilla/show_bug.cgi?id=158
 struct Bar {
     union {
         struct {
             union {
                 Foo A;
             }
         }
     }
 }

 struct Foo {
 }
Added to DStress as http://dstress.kuehne.cn/run/u/union_17_A.d http://dstress.kuehne.cn/run/u/union_17_B.d http://dstress.kuehne.cn/run/u/union_17_C.d http://dstress.kuehne.cn/run/u/union_17_D.d http://dstress.kuehne.cn/run/u/union_17_E.d http://dstress.kuehne.cn/run/u/union_17_F.d http://dstress.kuehne.cn/run/u/union_17_G.d http://dstress.kuehne.cn/run/u/union_17_H.d http://dstress.kuehne.cn/run/u/union_17_I.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFEftTr3w+/yD4P9tIRAo83AKC6hECRtyLyWNVtiP/ZQTzze3uX0gCaAyTm 0NKLWqZlcAtQpFUUIPFHSzU= =P+wO -----END PGP SIGNATURE-----
Jun 01 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=158


bugzilla digitalmars.com changed:

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





Fixed in DMD 0.160


-- 
Jun 04 2006