[Bug libstdc++/11706] std::pow(T, int) implementation pessimizes code
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Feb 13 19:18:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-13 10:25 -------
Subject: Bug 11706
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: paolo@gcc.gnu.org 2005-02-13 10:25:02
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/c_std: std_cmath.h
Added files:
libstdc++-v3/testsuite/26_numerics/cmath: powi.cc
Log message:
2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
Paolo Carlini <pcarlini@suse.de>
PR libstdc++/11706
* include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
for integer overloads.
* testsuite/26_numerics/cmath/powi.cc: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2893&r2=1.2894
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/c_std/std_cmath.h.diff?cvsroot=gcc&r1=1.17&r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/26_numerics/cmath/powi.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11706
More information about the Gcc-bugs
mailing list