repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr43631.C
blob
eb4f57861882307c63c5d45902d4516427af4170
1
// PR middle-end/43631
2
// { dg-do compile }
3
// { dg-options "-g -O2" }
4
// { dg-additional-options "-mtune=atom" { target i?86-*-* x86_64-*-* } }
5
6
typedef void (*T) ();
7
struct S { T t; };
8
void bar (T) __attribute__ ((__noreturn__));
9
S *p;
10
11
void
12
foo ()
13
{
14
try { bar (p->t); } catch (...) { throw 1; }
15
}