Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Thomas Kettenring
Thu, 10 Sep 1992 21:05
GCC 2.2.2 on an Atari ST: address error
Author: Thomas Kettenring
Date: Thu, 10 Sep 1992 21:05
Date: Thu, 10 Sep 1992 21:05
24 lines
1027 bytes
1027 bytes
I found a bug in GCC 2.2.2, PL2. When I try to compile the following
program
#include <float.h>
main()
{
float x;
x = -DBL_MAX;
}
the compiler aborts with an `address error' in cc1. Obviosly DBL_MAX cannot
be stored in a float, but I think it is not ok for the compiler to crash
in such a case.
I run GCC on an Atari ST. The version I use is said to be compiled with
the MiNT libs (I don't know whether this makes a difference).
Jochen.
---
You can mail me at `kring@physik.uni-kl.de'.
Please use `c/o Jochen' in the Subject.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads