g++ exception problem on alpha

Benjamin Scarlet scarlet@mit.edu
Wed Apr 5 12:23:00 GMT 2000


With g++ 2.95.2, exceptions cause segfaults on my RedHat Linux alpha:

$ gcc -v
Reading specs from /usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)

$ uname -a
Linux es40-006.intranet1.lns.mit.edu 2.2.13-1M.zartak #4 SMP Fri Mar 31 15:01:58 EST 2000 alpha unknown

$ cat tmp.cc
int main()
{
  try
    {
      throw 3;
    }
  catch(...) {}
}

$ g++ tmp.cc -o tmp
$ ./tmp
Segmentation fault (core dumped)



More information about the Gcc-bugs mailing list