repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[31/77] Use scalar_int_mode for move2add
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
binding2.C
blob
5a7328125a0faee5f7b77f5367f54e47655cf4a3
1
// { dg-do assemble }
2
// Bug: g++ screws up binding levels in a switch statement with cleanups.
3
4
struct A {
5
~A() { }
6
};
7
8
int f (int i)
9
{
10
switch (i) {
11
default:
12
A a;
13
}
14
return 1;
15
} // causes compiler segfault