Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / gimplefe-44.c
blob3c83d4946f2745cf65f373db60ff5c84c6ac1300
1 /* { dg-do compile } */
2 /* { dg-require-effective-target exceptions } */
3 /* { dg-options "-fexceptions -fgimple -fdump-tree-eh-eh" } */
4 /* { dg-require-effective-target nonlocal_goto } */
6 void __GIMPLE foo()
8 try
10 try
12 extern void might_throw1 ();
13 might_throw1 ();
15 finally
17 extern void might_throw2 ();
18 might_throw2 ();
20 else
22 extern void might_throw3 ();
23 might_throw3 ();
26 finally
28 extern void might_throw4 ();
29 might_throw4 ();
33 /* { dg-final { scan-tree-dump ".LP 1. might_throw1" "eh" } } */
34 /* { dg-final { scan-tree-dump ".LP 2. might_throw2" "eh" } } */
35 /* { dg-final { scan-tree-dump ".LP 2. might_throw3" "eh" } } */