diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/921206-1.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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 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)); } |