DragonFly BSD
DragonFly commits List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Mar 2011 05:25:53 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]