------- Comment #4 from jlaw at uoguelph dot ca 2007-09-03 02:32 ------- (In reply to comment #2) > The number 2147483648 is too big. The minus sign is a unary operator. > Either use the compiler option that Jerry mentioned or use 'k = - huge(k) - 1' > option: -fno-range-check is supposed to be the default for the compiler "In some cases, options have positive and negative forms; the negative form of -ffoo would be -fno-foo. This manual documents only one of these two forms, whichever one is not the default.'
It is in 4.1.X, looks like it has changed in 4.2.1 In using this option: 4.2.1 compiles the test code. This change from the default is NOT documented. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33285