git: gcc44: Don't emit warning about inline failure due to optim

看板DFBSD_commit作者時間15年前 (2011/03/02 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit d63bc0133b76e8a2c2f3adf9badfe703459d0bf4 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Wed Mar 2 21:11:29 2011 +0800 gcc44: Don't emit warning about inline failure due to optimization gcc44 tries to guess the hotness of the code path and refuses to inline functions on cold code path even if the function has __inline attribute. The warning caused by this kind of inline failure is extremely annoying and it actually has nothing to do with possible software bugs. Summary of changes: contrib/gcc-4.4/gcc/tree-inline.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d63bc0133b76e8a2c2f3adf9badfe703459d0bf4 -- DragonFly BSD source repository
文章代碼(AID): #1DRaRTg7 (DFBSD_commit)