From: Roger Sayle Date: Thu, 6 Feb 2003 01:26:40 +0000 (+0000) Subject: 921206-1.c: Rename undeclared function from "pow" to "foo" to avoid potential confusi... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbdd348907c8d5481bf6bcf29387dfd405c49572;p=gcc.git 921206-1.c: Rename undeclared function from "pow" to "foo" to avoid potential confusion... * gcc.c-torture/compile/921206-1.c: Rename undeclared function from "pow" to "foo" to avoid potential confusion with math built-ins. From-SVN: r62469 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2c9a9ee8dc5..0d39f62a46f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-02-05 Roger Sayle + + * 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 * gcc.c-torture/execute/20020227-1.x: Update specific XFAIL diff --git a/gcc/testsuite/gcc.c-torture/compile/921206-1.c b/gcc/testsuite/gcc.c-torture/compile/921206-1.c index b18709dd8d1..10fa5ea6479 100644 --- a/gcc/testsuite/gcc.c-torture/compile/921206-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/921206-1.c @@ -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)); }