Thread overview
[Bug 158] New: weird crash when nesting unions and structs; code order dependent
May 27, 2006
d-bugmail
Jun 01, 2006
Thomas Kuehne
Jun 05, 2006
d-bugmail
May 27, 2006
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 {
}


-- 

June 01, 2006
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


June 05, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=158


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2006-06-04 22:16 -------
Fixed in DMD 0.160


--