RE: Why is (2 < 2) true? Is it a gcc bug?

From: Dorau, Lukasz
Date: Fri Jan 17 2014 - 09:55:50 EST


On Friday, January 17, 2014 2:58 PM Richard Weinberger <richard.weinberger@xxxxxxxxx> wrote:
>
> Can you reproduce this using a standalone test?
> I.e:
> #include <assert.h>
>
> int main()
> {
> assert(2 < 2 != 1);
>
> return 0;
> }
>

No, I can't of course.

Lukasz

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/