Logo Search packages:      
Sourcecode: gcc-2.96 version File versions

bug-33786.c

#include <unistd.h>
#include <stdio.h>
#include <libio.h>
int main(int argc, char** argv)
{
    int i = 0x80000000;
    int j;
    int k;
    j = i / -1;
    k = i % -1;
    fprintf(stdout,"i is %d\n",i);
    fprintf(stdout,"i / -1 = %d\n",j);
    fprintf(stdout,"i %% -1 is %d\n",k);
}

Generated by  Doxygen 1.6.0   Back to index