]> gcc.gnu.org Git - gcc.git/commit
re PR rtl-optimization/11311 (ICE with pow and large exponent)
authorRoger Sayle <roger@eyesopen.com>
Wed, 25 Jun 2003 03:09:06 +0000 (03:09 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Wed, 25 Jun 2003 03:09:06 +0000 (03:09 +0000)
commitb9ba01a11f30733eb45554f8820d4084724d308c
treeda8cc71e080c9c80fb51d977f772e2ab0cd2130a
parent465129420d1a2905e4e20ce8af772b6e13700c98
re PR rtl-optimization/11311 (ICE with pow and large exponent)

PR optimization/11311
* builtins.c (powi_cost): Fix typo.  The number of multiplications
required is the number to reduce the argument, result, plus the
cost of calculating the residual, val [not n, the original value].

* gcc.c-torture/compile/20030624-1.c: New test case.

From-SVN: r68452
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20030624-1.c [new file with mode: 0644]
This page took 0.061137 seconds and 5 git commands to generate.