Why GCC-12 still inlined function which declared as noinline?

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

 



Hi community,
    I observed that GCC will inline function which is declared as noinline
(using __attribute__ ((noinline))) when I build SPEC2017 525.x264_r with
--param early-inline-insns=96, when I remove the param the noinline
function will not be inlined by compiler. Is that reasonable? It seems the
compiler didn't recognize the noinline attribute.

The function is x264_pixel_satd_8x4 which can be found in pixel.c
in 525.x264_r.  and I use GCC-12.3.0.

Thanks
Aaron.Chou



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux