www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1032] New: regression: -g -O run/o/odd_bug_06_B.d

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


-- 
Mar 07 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1032


braddr puremagic.com changed:

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




-- 
Apr 13 2007
prev sibling parent d-bugmail puremagic.com writes:
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


-- 
Jul 16 2007