------- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-14 01:05 ------- Try replacing each .o file with one that is compiled at -O0 and then see if the program works. This is the standard way of finding miscompiling objects.
After finding the one which works, try compiling with -fwrapv on that file and then report back. (this is because people are known to write code that depends on signed math being defined as wrapping). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27152