Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: gcc/gcc/testsuite/gcc.target/i386/pr41963.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.target/i386/pr39545-1.c ('k') | gcc/gcc/testsuite/gcc.target/i386/pr42542-2.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.target/i386/pr41963.c
diff --git a/gcc/gcc/testsuite/gcc.target/i386/pr41963.c b/gcc/gcc/testsuite/gcc.target/i386/pr41963.c
deleted file mode 100644
index 3eeffeea1dd31cbf0dbc4d41bcf6f8ce6b9d4df1..0000000000000000000000000000000000000000
--- a/gcc/gcc/testsuite/gcc.target/i386/pr41963.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -ffast-math -mrecip" } */
-#include <math.h>
-
-extern float sqrtf(float);
-
-static __attribute__((noinline)) void f (float *dst, float *src)
-{
- int i, j;
- for (i = 0; i < 2; i++)
- {
- float len;
- dst[0] = src[0];
- dst[1] = src[1];
- len = sqrtf (dst[0] * dst[0] + dst[1] * dst[1]);
- if (len > 0.5f)
- {
- len = 1.0f / len;
- dst[0] *= len;
- dst[1] *= len;
- }
- }
-}
-
-extern void abort (void);
-
-int main()
-{
- float dst[2], src[2];
- src[0] = 2.0f;
- src[1] = 5.0f;
- f (dst, src);
- if (fabsf (dst[0] * dst[0] + dst[1] * dst[1] - 1.0f) > 0.01f)
- abort ();
- return 0;
-}
« no previous file with comments | « gcc/gcc/testsuite/gcc.target/i386/pr39545-1.c ('k') | gcc/gcc/testsuite/gcc.target/i386/pr42542-2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698