OSDN Git Service

* gcc.c-torture/compile/921206-1.c: Rename undeclared function from
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Feb 2003 01:26:40 +0000 (01:26 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Feb 2003 01:26:40 +0000 (01:26 +0000)
"pow" to "foo" to avoid potential confusion with math built-ins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62469 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/921206-1.c

index 2c9a9ee..0d39f62 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-05  Roger Sayle  <roger@eyesopen.com>
+
+       * gcc.c-torture/compile/921206-1.c: Rename undeclared function from
+       "pow" to "foo" to avoid potential confusion with a math built-in.
+
 2003-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
index b18709d..10fa5ea 100644 (file)
@@ -24,5 +24,5 @@ f()
        }
     }
   for (l = sm; l <= sx; l++)
-    smap[l] = l > 0 ? 1 + pow(sin(.1 * l / sx)) : 1 - pow(sin(.1 * l / sm));
+    smap[l] = l > 0 ? 1 + foo(sin(.1 * l / sx)) : 1 - foo(sin(.1 * l / sm));
 }