* g++.dg/eh/simd-4.C (main): Also catch SIGSEGV.

From-SVN: r121444
This commit is contained in:
Geoffrey Keating 2007-02-01 00:01:22 +00:00 committed by Geoffrey Keating
parent 52f7138e13
commit b7e9550f8d
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2007-01-30 Geoffrey Keating <geoffk@apple.com>
* g++.dg/eh/simd-4.C (main): Also catch SIGSEGV.
2007-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-math-2.c: Add sqrt cases.

View file

@ -56,6 +56,8 @@ int main(void)
v v1 = vt;
if (signal (SIGBUS, thrower) == SIG_ERR)
abort ();
if (signal (SIGSEGV, thrower) == SIG_ERR)
abort ();
try {
*(volatile int *)0 = 0;
abort ();