From d3110c88c67942152b9a4e631dc55d81c111f773 Mon Sep 17 00:00:00 2001 From: paolo Date: Fri, 20 Aug 2004 14:56:29 +0000 Subject: [PATCH] 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). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86323 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/c_std/cmath.tcc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b58b6e1..3569d6c 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 c6df0a0..d771467 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) -- 2.7.4