This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/14703] Inadequate optimization of inline templated functions
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2005 16:53:46 -0000
- Subject: [Bug tree-optimization/14703] Inadequate optimization of inline templated functions
- References: <20040324022538.14703.eric-gcc@omnifarious.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-02-25 16:53 -------
http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01571.html
improves this to the extent that the inliner now estimates the size of
fibconst to
n size
0,1,2 0
3 1
4 2
5 4
6 7
etc., i.e. to the number of additions required.
Inlining all of fibconst<90> now only requires the appropriate limits, or,
of course folding during inlining.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at tat dot physik
| |dot uni-tuebingen dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14703