OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Formatting fixes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
cleanup1.C
1
// { dg-do run }
2
// Bug: fold is too eager about pushing down CLEANUP_POINT_EXPR.
3
4
int d;
5
6
struct A {
7
A() { }
8
~A() { d = 1; }
9
};
10
11
int f (const A& a)
12
{
13
return 1;
14
}
15
16
int main ()
17
{
18
if (f (A()) && d == 0)
19
return 0;
20
return 1;
21
}