This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/33691] New: [4.3 Regression] Type checking error with bitwise and/or


unsigned int mgaSetTexImages(int i)
{
    return ((i | 0x40) & 0xffffffc0);
}

mga_texstate.c:67: error: type mismatch in binary expression
unsigned int

int

unsigned int

D.24173 = D.24172 & 63


-- 
           Summary: [4.3 Regression] Type checking error with bitwise and/or
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ice-checking
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33691


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]