cmath.tcc (__cmath_power): Revert previous commit: actually the warning is a front...
authorPaolo Carlini <pcarlini@suse.de>
Fri, 20 Aug 2004 14:56:29 +0000 (14:56 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 20 Aug 2004 14:56:29 +0000 (14:56 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_std/cmath.tcc

index b58b6e15c6e08eba729a7b8ecdfb5cfc3b179047..3569d6c27c9e9a32ad427d0ed1677c14299b649e 100644 (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.
index c6df0a0ed865bc6e94249ed4e09d53e0c035bcc7..d771467ec61b7a8b2caf753fac93c72b2a2f21b6 100644 (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)