[flac-dev] warning: inlining failed in call to 'FLAC__bitwriter_write_raw_uint32.constprop':

lvqcl lvqcl.mail at gmail.com
Fri Jan 8 10:36:30 PST 2016

Evan Ramos wrote:

> Would it be better to remove the inline keyword from the declaration
> of FLAC__bitwriter_write_raw_uint32 (and by extension, remove inline
> from FLAC__bitwriter_write_zeroes and add it to
> FLAC__bitwriter_write_unary_unsigned)? I suspect that the cache misses
> caused by code bloat from so much inlining would outweigh the
> comparable function call overhead, but performance testing would be
> necessary to confirm this.

I suspect that the main reason for inline attribute of
FLAC__bitwriter_write_raw_uint32() is FLAC__bitwriter_write_raw_int32()
function. Both of them are used in e.g. libFLAC/stream_encoder_framing.c,
FLAC__subframe_add_(constant|fixed|lpc|verbatim) functions.

More information about the flac-dev mailing list