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 NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
inline2.C
1
// { dg-do assemble }
2
// { dg-options "-O2 -Winline" }
3
// Origin: Martin Reinecke <martin@MPA-Garching.MPG.DE>
4
5
#include <cmath>
6
7
int main()
8
{
9
double foo = 4.5;
10
if (std::abs (0.5-std::abs (foo-0.5)) < 1e-10) foo+=1;
11
}