Changeset 381

Show
Ignore:
Timestamp:
02/12/10 14:08:08 (2 years ago)
Author:
walter
Message:

bugzilla 3558 Optimizer bug results in false if condition being taken

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dmd-1.x/src/backend/cod1.c

    r308 r381  
    11// Copyright (C) 1984-1998 by Symantec 
    2 // Copyright (C) 2000-2009 by Digital Mars 
     2// Copyright (C) 2000-2010 by Digital Mars 
    33// All Rights Reserved 
    44// http://www.digitalmars.com 
     
    33633363        { 
    33643364        c1 = loadea(e,&cs,0x0B,reg,i,regm,0);   // OR reg,data+i 
     3365        if (i == 0) 
     3366            c1->Iflags |= CFpsw;        // need the flags on last OR 
    33653367        c = cat(c,c1); 
    33663368        } 
  • trunk/src/backend/cod1.c

    r308 r381  
    11// Copyright (C) 1984-1998 by Symantec 
    2 // Copyright (C) 2000-2009 by Digital Mars 
     2// Copyright (C) 2000-2010 by Digital Mars 
    33// All Rights Reserved 
    44// http://www.digitalmars.com 
     
    33633363        { 
    33643364        c1 = loadea(e,&cs,0x0B,reg,i,regm,0);   // OR reg,data+i 
     3365        if (i == 0) 
     3366            c1->Iflags |= CFpsw;        // need the flags on last OR 
    33653367        c = cat(c,c1); 
    33663368        }