[Bug tree-optimization/14703] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2008-11-01 11:51 --- How is this a regression? In fact this seems to be fixed on the trunk and instead the 4.3 branch and earlier releases suffer from memory/compile-time explosion during inlining. Marked as fixed. If the problem fr

[Bug tree-optimization/14703] Inadequate optimization of inline templated functions

2006-03-03 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-03-03 10:29 --- Note that using functions as in fibconst is not really an efficient way to do this. Still, with gcc 4.1.0 you now have the ability to use template inline __attribute__((flatten)) unsigned long long fibconst() {

[Bug tree-optimization/14703] Inadequate optimization of inline templated functions

2006-03-02 Thread eric-gcc at omnifarious dot org
--- Comment #6 from eric-gcc at omnifarious dot org 2006-03-02 20:25 --- I'm pleased that I came up with such a difficult test case for the optimizer. I never thought it'd be that hard. :-) I don't know anything about the internals, but... The compiler has to generate everything dow

[Bug tree-optimization/14703] Inadequate optimization of inline templated functions

2005-05-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-27 00:15 --- What we need for this testcase is the following: inline, optimize, inline, ... -- What|Removed |Added

[Bug tree-optimization/14703] Inadequate optimization of inline templated functions

2005-02-25 Thread rguenth 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 nsize 0,1,2 0 31 42 54 67 etc