summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-20 10:32:34 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-20 10:32:34 +0000
commitcd3fbee95dca79ff88b89fdc0b2dab7dfc86c24f (patch)
treecbe9d6abfd89b65c58fccff3dd0b3d32b8051fe5 /libstdc++-v3
parent6e930e6cb0270ea38be42c20309ec330cae08c5f (diff)
downloadgcc-cd3fbee95dca79ff88b89fdc0b2dab7dfc86c24f.tar.gz
2004-08-20 Paolo Carlini <pcarlini@suse.de>
* include/c_std/cmath.tcc (__cmath_power): Suppress assignment used as truth value warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/c_std/cmath.tcc2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6f30769c6a5..6dca88cca52 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,10 @@
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
baseline.
diff --git a/libstdc++-v3/include/c_std/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc
index d771467ec61..c6df0a0ed86 100644
--- a/libstdc++-v3/include/c_std/cmath.tcc
+++ b/libstdc++-v3/include/c_std/cmath.tcc
@@ -40,7 +40,7 @@ namespace std
{
_Tp __y = __n % 2 ? __x : 1;
- while (__n >>= 1)
+ while ((__n >>= 1))
{
__x = __x * __x;
if (__n % 2)