summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-11 10:42:26 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-11 10:42:26 +0000
commitbd27344764cc73ce678d4543c835318752d4f41d (patch)
tree73bdab21d0cd18f51174b987fd3f422ba2f988a8
parentfdf30580261485b3f9d4de57c8efb609308ecef5 (diff)
downloadppe42-gcc-bd27344764cc73ce678d4543c835318752d4f41d.tar.gz
ppe42-gcc-bd27344764cc73ce678d4543c835318752d4f41d.zip
2004-03-11 Steven Bosscher <s.bosscher@student.tudelft.nl>
PR libstdc++/11706 * include/c_std/cmath.tcc (__cmath_power): Define inline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79316 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/c_std/cmath.tcc4
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index cfb2c84632f..8377536456c 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 0ff9ed74b31..d771467ec61 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;
OpenPOWER on IntegriCloud