On 7/3/24 09:48, Changqing Li wrote:
Hi, Dear maintainers

I  met an  issue similar to issue [1]. With gcc 14,  pixman compile failed with following error,  but it only reproduce when -Og is used,  it will success with -O2: pixman-0.42.2/pixman/pixman-combine-float.c:370:5: error: inlining failed in call to 'always_inline' 'combine_soft_light_c': function not considered for inlining   370 |     combine_ ## name ## _c (float sa, float s, float da, float d)       \
      |     ^~~~~~~~
../pixman-0.42.2/pixman/pixman-combine-float.c:655:1: note: in expansion of macro 'MAKE_SEPARABLE_PDF_COMBINERS'

I also open a bug for gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679

And I want to  ask will pixman make a workaround like issue [1] for gcc14?

According to latest comments of gcc bug,   "always_inline + indirect function call" is not support, maybe this need to be fixed from pixman side.

Regards

Changqing


Refer:
[1] https://bugs.freedesktop.org/show_bug.cgi?id=55630 <https://bugs.freedesktop.org/show_bug.cgi?id=55630>

Thanks,
Changqing

Reply via email to