egcs-1.0.3prerelease - SIGFPE on alphaev5-dev-linux-gnu

Jochen.K"upper <jochen@uni-duesseldorf.de>"@bacchus.pc1.uni-duesseldorf.de Jochen.K"upper <jochen@uni-duesseldorf.de>"@bacchus.pc1.uni-duesseldorf.de
Thu May 7 10:16:00 GMT 1998


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
-----------------------------------------------------------------------



More information about the Gcc-bugs mailing list