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
/
tree-ssa
/
pr22037.C
blob
11fc1b0389af527dc224478ca82450e5e8a9c785
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
extern double sqrt (double) throw ();
5
6
void foo(double& d, int n)
7
{
8
double e=0;
9
for(int i=0; i<n; i++);
10
for(int i=0; i<n; i++) e=1;
11
d = sqrt(e);
12
13
for(int i=0; i<n; i++);
14
}