cmath.tcc (__cmath_power): Suppress assignment used as truth value warning.

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

	* include/c_std/cmath.tcc (__cmath_power): Suppress assignment
	used as truth value warning.

From-SVN: r86310
This commit is contained in:
Paolo Carlini 2004-08-20 10:32:34 +00:00 committed by Paolo Carlini
parent 82563d3508
commit c0ca279584
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): Suppress assignment
used as truth value warning.
2004-08-20 Paolo Carlini <pcarlini@suse.de>
* config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit

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)