[Bug c/30908] -Os inlines functions that are called more than once (optimization regression)

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 21 14:36:00 GMT 2007



------- Comment #5 from rguenth at gcc dot gnu dot org  2007-02-21 14:35 -------
Unfortunately(?) the cost metrics for inlining are completely target
independent at the moment.  Can you check whether adjusting --param
inline-call-cost will
fix it for you?  At the moment this is artificially high (16) and it may be
a good candidate for a target specific default value.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org


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



More information about the Gcc-bugs mailing list