delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/14/07:49:01

Date: Tue, 14 Apr 1998 14:46:55 +0200 (WET)
From: "Andris Pavenis (LU Astro.)" <pavenis AT lanet DOT lv>
To: pokornp AT math DOT vscht DOT cz
cc: djgpp AT delorie DOT com
Subject: Re: gcc-dos 2.8.1 and Exiting due to signal SIGFPE ?
In-Reply-To: <6gj5vc$6oe$1@news.vscht.cz>
Message-ID: <Pine.A32.3.91.980414144514.68350A-100000@ieva05.lanet.lv>
MIME-Version: 1.0


On 9 Apr 1998 pokornp AT math DOT vscht DOT cz wrote:

> 
> When I use a cross-compiler gcc-dos 2.8.1 from HP-UX 10.20 to MS-DOS 6.22
> the exe file runs O.K. sometimes but sometimes stops with
> 
> "Exiting due to signal SIGFPE
>  Floating point exception at eip=0000176e"
> 
> Compiling the C-program with gcc 2.8.1
>  gcc     -o prog     -Wall -O2 prog.c -lm
>  gcc-dos -o prog.exe -Wall -O2 prog.c -lm
> produces *no* warnings
> and prog runs always O.K. in HP-UX
> so I hoped it is well written and portable.
> 

Perhaps the source is use of one or more not initialized floating point 
variable(s) or use of one before any value is assigned 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019