unsigned long modify_field (unsigned long mask, long fieldval)
{
  return (~fieldval & ~mask);
}

value.2.min.i: In function 'modify_field':
value.2.min.i:2: error: type mismatch in binary expression
long unsigned int

long int

long unsigned int

D.1544 = fieldval | mask
value.2.min.i:2: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.3 Regression] Type checking error with bitwise
                    xor/and
           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=33693

Reply via email to