home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!cis.ohio-state.edu!physik.uni-kl.DE!kring
- From: kring@physik.uni-kl.DE (Thomas Kettenring)
- Subject: GCC 2.2.2 on an Atari ST: address error
- Message-ID: <9209101705.AA10065@physik.uni-kl.de_>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Thu, 10 Sep 1992 21:05:29 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 25
-
- 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.
-
-