repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
eh
/
cond3.C
blob
0af4ecdad969b35e6c9693768c51cedd4df9cf78
1
// PR c++/24996
2
// Bug: the cleanup for the A temporary was confusing the gimplifier
3
// because of the TRY_CATCH_EXPR for the exception object.
4
5
struct A { A(int); ~A(); };
6
struct B { B(A); ~B(); };
7
void foo(bool b)
8
{
9
throw b ? B(1) : B(1);
10
}