Subject: Switched to C++ sjlj exception
To: None <,,,>
From: Krister Walfridsson <>
List: tech-toolchain
Date: 06/08/2000 22:38:31
I have switched the C++ compiler to use sjlj exceptions on the ELF ports
too, which should make C++ more useable. I have tried this on i386 and
pmax, but I don't have machines of the other affected types, so I would
apriciate if someone could try it on those.

To try this
1. Recompile gcc
2. Recompile libgcc
3. Compile and run the program below. It should not segv...

btw. as a reality check you should probably try to compile and run the
program with the old compiler before trying the new...


#include <stdio.h>

  int i = 22;

    throw i;
  catch (const int &e)
    printf("catch %d\n", e);

  return 0;