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
This commit is contained in:
Roger Sayle 2003-02-06 01:26:40 +00:00 committed by Roger Sayle
parent 69bd93682e
commit dbdd348907
2 changed files with 6 additions and 1 deletions

View 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

View 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));
}