From: Paolo Carlini Date: Fri, 20 Aug 2004 14:56:29 +0000 (+0000) Subject: cmath.tcc (__cmath_power): Revert previous commit: actually the warning is a front... X-Git-Tag: releases/gcc-4.0.0~5703 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b92b0b55cfeaff29835997b370533d3d37f3ff3;p=thirdparty%2Fgcc.git cmath.tcc (__cmath_power): Revert previous commit: actually the warning is a front-end bug (c++/17120). 2004-08-20 Paolo Carlini * include/c_std/cmath.tcc (__cmath_power): Revert previous commit: actually the warning is a front-end bug (c++/17120). From-SVN: r86323 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b58b6e15c6e0..3569d6c27c9e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-08-20 Paolo Carlini + + * 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 * config/abi/s390-linux-gnu/baseline_symbols.txt: New. diff --git a/libstdc++-v3/include/c_std/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc index c6df0a0ed865..d771467ec61b 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)