How can I prevent the gcc optimizer from producing incorrect bit operations? – stackoverflow.com

Consider the following program. #include <stdio.h> int negative(int A) { return (A & 0x80000000) != 0; } int divide(int A, int B) { printf("A = %d\n", A); printf("negative(A) = ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "How can I prevent the gcc optimizer from producing incorrect bit operations? – stackoverflow.com"