Ok, with parentheses it's ok. I don't know that about the C, but it's a strange definition because: (1 + 2) == 3 is same as 1 + 2 == 3 and (3 ^ 1) == 2 is not the same as 3 ^ 1 == 2
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533295 Title: Wrong result when comparing xor and int To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1533295/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
