aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/921206-1.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-02-06 01:26:40 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-02-06 01:26:40 +0000
commitdbdd348907c8d5481bf6bcf29387dfd405c49572 (patch)
treed3eabb90f459b4f789811167b85d7c033cef7f07 /gcc/testsuite/gcc.c-torture/compile/921206-1.c
parent69bd93682e164d0399a8399825ec527afc16c6e8 (diff)
downloadgcc-dbdd348907c8d5481bf6bcf29387dfd405c49572.zip
gcc-dbdd348907c8d5481bf6bcf29387dfd405c49572.tar.gz
gcc-dbdd348907c8d5481bf6bcf29387dfd405c49572.tar.bz2
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
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/921206-1.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/921206-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/921206-1.c b/gcc/testsuite/gcc.c-torture/compile/921206-1.c
index b18709d..10fa5ea 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));
}