diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-06 01:26:40 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-06 01:26:40 +0000 |
commit | 0cea7f1f3e001b19c39d678054af18b3e2608e65 (patch) | |
tree | d3eabb90f459b4f789811167b85d7c033cef7f07 /gcc | |
parent | 0757655756eddfe9bc198ed018c0861a3778ae39 (diff) | |
download | gcc-0cea7f1f3e001b19c39d678054af18b3e2608e65.tar.gz |
* gcc.c-torture/compile/921206-1.c: Rename undeclared function from
"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
Diffstat (limited to 'gcc')
-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)); } |