egcs - gcc on alpha bug

Jochen Küpper jochen@bacchus.pc1.uni-duesseldorf.de
Thu Mar 5 07:00:00 GMT 1998


On our AlphaStation the following program results in an SIGFPE on the marked
line at the second time the function is entered !


#include <iostream.h>

void kriterium( )
{
  double point;
  point += 0.0;  // crash on second call
  return;
}


int main( int, char** )
{
  kriterium();
  cerr << "Here we go !" << endl;
  kriterium();
  return 0;
}


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