Re: git: 9d87c1aac4a8 - main - libc: Add missing kill_dependency macro

From: Faraz Vahedi <kfv_at_kfv.io>
Date: Sat, 20 Jun 2026 12:06:11 UTC
Hey,

Thanks for the report.

> GCC at least with the version 16 uses a different definition for the
> kill_dependency(), which might have some side effects for the gcc
> optimizers:
> 
> #define kill_dependency(Y)                      \
>  __extension__                                 \
>  ({                                            \
>    __auto_type __kill_dependency_tmp = (Y);    \
>    __kill_dependency_tmp;                      \
>  })
> 
> Since the semantic for kill_dependency() is believed to be not well
> defined, I think we should provide gcc-compliant definition at least
> for gcc.

I’ll check and take care of it shortly. Will keep you posted.

Cheers,
Faraz