gcc 2.95: wrong floating point underflow handling on Alpha

Stephen L Moshier moshier@mediaone.net
Tue Apr 4 10:35:00 GMT 2000


> int main () {
>    double c = 3.958851865662793e-313;
>   if(c>1e0) printf("Bigger than 1\n");
> }
>
> *Behavior:
> crashes in ln.3 with Floating point exception (core dumped) message

Try the -mieee command line switch for the compiler.




More information about the Gcc-bugs mailing list