[Issue 5672] ICE(cod2.c): if ((long &1) == 1) with -O

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 1 07:41:29 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5672


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
            Version|D2                          |D1 & D2
            Summary|Internal error:             |ICE(cod2.c): if ((long &1)
                   |..\ztc\cod2.c 461           |== 1) with -O


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-03-01 07:38:38 PST ---
Reduced test case:

void foo5672() {}

void bug5672(long v)
{    
    if( (v & 1) == 1 )
    {
        foo5672();
    }
}


Prehistoric bug. Same ICE on DMD 0.140.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list