This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-1.0.3prerelease - SIGFPE on alphaev5-dev-linux-gnu
- To: egcs bugs mailing list <egcs-bugs at cygnus dot com>
- Subject: egcs-1.0.3prerelease - SIGFPE on alphaev5-dev-linux-gnu
- From: Jochen.K"upper <jochen at uni-duesseldorf dot de>"@bacchus.pc1.uni-duesseldorf.de
- Date: Mon, 14 Jun 2134 01:40:08 +0200
Compiling and running the code
int main( int, char ** )
{
double temp = 1.01;
double temp2 = 7.24316e-312;
double temp3 = temp * temp2;
return 0;
}
gives a SIGFPE. gdb-4.16 reports:
(gdb) run
Starting program: /home/jochen/source/bugs/./a.out
Program received signal SIGFPE, Arithmetic exception.
0x120000758 in main () at fpe01.cc:5
5 double temp3 = temp * temp2;
Jochen
--
-----------------------------------------------------------------------
Jochen K"upper
Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de
Institut f"ur Physikalische Chemie I
Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
40225 D"usseldorf fax ++49-211-8115195
Germany http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------