🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6304

Re: Is this a Lattice C 5.05 compiler bug ?

#6304
From: Frank Pecher
Date: Wed, 31 Oct 1990 23:38
33 lines
1509 bytes
In article <90303.131300ZHHU@MTUS5.BITNET> ZHHU@MTUS5.BITNET writes:
>>In article <90297.145845ZHHU@MTUS5.BITNET> ZHHU@MTUS5.BITNET writes:
>>> [Floating point test program deleted]
>>
>>I own an Amiga 2000 and Lattice C5.05; the program works fine when
>>compiled with
>>
>>   lc -f -Lm prog
>>
>>       --  Frank
>
>I try to compile the program using the "-f" switch, it won't crash
>the machine any more, thank you Frank. But my question now is:
>    Why it crashes my A1000 when I compile using
>
>        lc -Lm prog
>
>    According to the Lattice C manual, the default switch is "-fm" which
>    means mixed float and double type.

Sorry, I really can't figure out, why your prog doesn't work. I just
compiled it using

        lc -Lm prog

and it again works okay.

>--Zhiquan

        --  Frank
--
Frank_Pecher Schwalbenweg_26 7030 Boeblingen GER root@bcstarc.stgt.sub.org
>>                This line was intentionally left blank                <<
Technical Details
Message-ID: <55@bcstarc.stgt.sub.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!nadia!bcstarc!root
References: <90303.131300ZHHU@MTUS5.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!nadia!bcstarc!root
From: root@bcstarc.stgt.sub.org (Frank Pecher)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Is this a Lattice C 5.05 compiler bug ?
Message-ID: <55@bcstarc.stgt.sub.org>
Date: 31 Oct 90 23:38:54 GMT
References: <90303.131300ZHHU@MTUS5.BITNET>
Reply-To: fpe@bcstarc.stgt.sub.org (Frank Pecher)
Organization: Boeblingen ComputerScienTific ARChive
Lines: 32