diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cfb2c84632f417acf452be0949e6214047669cf2..8377536456c77c6ec313c161b8798f4f26ae21a1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-03-11 Steven Bosscher <s.bosscher@student.tudelft.nl> + + PR libstdc++/11706 + * include/c_std/cmath.tcc (__cmath_power): Define inline. + 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. diff --git a/libstdc++-v3/include/c_std/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc index 0ff9ed74b316cc47583f26ad6ef405f1638a983c..d771467ec61b7a8b2caf753fac93c72b2a2f21b6 100644 --- a/libstdc++-v3/include/c_std/cmath.tcc +++ b/libstdc++-v3/include/c_std/cmath.tcc @@ -1,6 +1,6 @@ // -*- C++ -*- C math library. -// Copyright (C) 2000, 2003 Free Software Foundation, Inc. +// Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -35,7 +35,7 @@ namespace std { template<typename _Tp> - _Tp + inline _Tp __cmath_power(_Tp __x, unsigned int __n) { _Tp __y = __n % 2 ? __x : 1;