On Wed, 16 Sep 2026, Jakub Jelinek wrote:

> 2026-09-16  Jakub Jelinek  <[email protected]>
> 
>       PR c/127383
>       * c-typeck.cc (default_conversion): If orig_expr is different
>       from exp and exp is a bit-field of bit-precise integer type, call
>       perform_integral_promotions on orig_exp rather than exp.
>       (build_c_cast): Wrap in NON_LVALUE_EXPR not just lvalues, but
>       also non-lvalue bit-fields of bit-precise integer type.
> 
>       * gcc.dg/torture/bitint-108.c: New test.
>       * gcc.dg/bitint-143.c: New test.
>       * gcc.dg/bitint-144.c: New test.

OK.

-- 
Joseph S. Myers
[email protected]

Reply via email to