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
Add missing test from last commit
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr22037.C
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
}