diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/opt/float1.C')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/g++.dg/opt/float1.C | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/opt/float1.C b/gcc-4.8.1/gcc/testsuite/g++.dg/opt/float1.C deleted file mode 100644 index 8f26ed5c8..000000000 --- a/gcc-4.8.1/gcc/testsuite/g++.dg/opt/float1.C +++ /dev/null @@ -1,21 +0,0 @@ -// PR optimization/11637 -// Origin: <nick@ilm.com> - -// This used to fail to assemble on x86 because a decimal -// floating point litteral was emitted, which originated -// from a bogus REG_EQUAL note not removed by the combiner. - -// { dg-do assemble } -// { dg-options "-O2 -fnon-call-exceptions" } - -void f(long int seed); - -void g(float &o) -{ - float a = 0.05f; - float b = 1.0 - a; - float c = 1.0 + a; - - f(0); - o = a; -} |