Thread overview
[Issue 1032] New: regression: -g -O run/o/odd_bug_06_B.d
Mar 07, 2007
d-bugmail
Apr 14, 2007
d-bugmail
Jul 17, 2007
d-bugmail
March 07, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1032

           Summary: regression: -g -O run/o/odd_bug_06_B.d
           Product: DGCC aka GDC
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: thomas-dloop@kuehne.cn


# struct Foo{
#    float[4] array = 1.0f;
#    int count = 10;
# }
#
# int main(){
#    Foo f;
#
#    if(f.count != 10){
#       assert(0);
#    }
#
#    if(f.array.length != 4){
#       assert(0);
#    }
#    if(f.array[0] != 1.0f){
#       assert(0);
#    }
#    if(f.array[1] != 1.0f){
#       assert(0);
#    }
#    if(f.array[2] != 1.0f){
#       assert(0);
#    }
#    if(f.array[3] != 1.0f){
#       assert(0);
#    }
#
#    return 0;
# }

gdmd-0.23 -g -O run/o/odd_bug_06_B.d
Error: AssertError Failure run/o/odd_bug_06_B.d(28)

test case:
http://dstress.kuehne.cn/run/o/odd_bug_06_B.d


-- 

April 14, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1032


braddr@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression




-- 

July 17, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1032


dvdfrdmn@users.sf.net changed:

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




------- Comment #1 from dvdfrdmn@users.sf.net  2007-07-16 20:02 -------
Fixed in svn r127 / release 0.24


--