repo.or.cz
/
official-gcc
/
alias-decl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/float-range-3.c: Use "dg-do compile" dejagnu directive
[official-gcc/alias-decl.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr19952.C
blob
54589a294cc62727e6c3dc560576405dcd36c37c
1
/* PR 19952 */
2
/* { dg-do compile } */
3
/* { dg-options "-ftree-vectorize -O2" } */
4
5
int i;
6
7
struct A
8
{
9
~A() { ++i; }
10
};
11
12
struct B
13
{
14
A a;
15
};
16
17
void foo()
18
{
19
for (int i=0; i<2; ++i)
20
{
21
B *p;
22
if (p) p->~B();
23
}
24
}