This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Snapshot GCC-20010108 Internal compiler error


$/usr/local/gcc-20010108/bin/gcc -c -O2 -ffast-math gcc-20010108-crash.c 
gcc-20010108-crash.c: In function `compare_something':
gcc-20010108-crash.c:6: Internal compiler error in 
                        reverse_condition_maybe_unordered, at jump.c:1970
Please submit a full bug report.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

$ cat gcc-20010108-crash.c
static int compare_something(float x, float y)
{
   if (x > y)
      return 1;
   return -1;
}

main() { return (compare-something( 1.01, 1.02 )); }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]