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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Mar 2 05:27:37 PST 2011


commit d63bc0133b76e8a2c2f3adf9badfe703459d0bf4
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list