mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
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:
parent
82563d3508
commit
c0ca279584
@ -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
|
||||
|
@ -40,7 +40,7 @@ namespace std
|
||||
{
|
||||
_Tp __y = __n % 2 ? __x : 1;
|
||||
|
||||
while (__n >>= 1)
|
||||
while ((__n >>= 1))
|
||||
{
|
||||
__x = __x * __x;
|
||||
if (__n % 2)
|
||||
|
Loading…
Reference in New Issue
Block a user