This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness
- From: "astrange at ithinksw dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2007 06:18:50 -0000
- Subject: [Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness
- References: <bug-32572-10175@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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