[lkml]   [2004]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: GCC 3.4 and broken inlining.
    On Jul  9, 2004, Andi Kleen <> wrote:

    > Nigel Cunningham <> writes:

    > I think a better solution would be to apply the appended patch


    > And then just mark the function you know needs to be inlined
    > as __always_inline__.

    It's probably a good idea to define such functions as `extern inline'
    (another GCC extension), such that a definition of the function is
    never emitted, and you get a linker error if the compiler somehow
    fails to emit an error on a failure to inline the function.

    Alexandre Oliva
    Red Hat Compiler Engineer aoliva@{,}
    Free Software Evangelist oliva@{,}
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:04    [W:0.020 / U:89.124 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site