🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1112

GCC 2.2.2 on an Atari ST: address error

#1112
From: Thomas Kettenring
Date: Thu, 10 Sep 1992 21:05
24 lines
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.
Technical Details
Message-ID: <9209101705.AA10065@physik.uni-kl.de_>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!physik.uni-kl.DE!kring

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!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