[Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness

2007-09-15 Thread astrange at ithinksw dot com


--- Comment #3 from astrange at ithinksw dot com  2007-09-15 23:47 ---
It's more like it was accidentally fixed and the underlying cause is still
there, but it is fixed.


-- 

astrange at ithinksw dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32572



[Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness

2007-07-16 Thread astrange at ithinksw dot com


--- Comment #2 from astrange at ithinksw dot com  2007-07-16 19:51 ---
Seems to work now in r126689.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32572



[Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness

2007-07-02 Thread astrange at ithinksw dot com


--- Comment #1 from astrange at ithinksw dot com  2007-07-02 06:18 ---
This is a regression from Apple gcc 4.0:

Considering void image::set(size_t, size_t, f_pixel, f_real) with 29 insns
 Estimated growth is -21 insns.
 Inlined into void set_test(image*, int, int, f_pixel, double) which now has
32
 insns.
 Inlined for a net change of -21 insns.

and probably from earlier 4.3.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32572