cmath.tcc (__cmath_power): Revert previous commit: actually the warning is a front-end bug (c++/17120).

2004-08-20  Paolo Carlini  <pcarlini@suse.de>

	* include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
	actually the warning is a front-end bug (c++/17120).

From-SVN: r86323
This commit is contained in:
Paolo Carlini 2004-08-20 14:56:29 +00:00 committed by Paolo Carlini
parent cad90591bd
commit 8b92b0b55c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-08-20 Paolo Carlini <pcarlini@suse.de>
* include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
actually the warning is a front-end bug (c++/17120).
2004-08-20 Matthias Klose <doko@debian.org>
* config/abi/s390-linux-gnu/baseline_symbols.txt: New.

View File

@ -40,7 +40,7 @@ namespace std
{
_Tp __y = __n % 2 ? __x : 1;
while ((__n >>= 1))
while (__n >>= 1)
{
__x = __x * __x;
if (__n % 2)