On Thu, 16 Oct 2025, Richard Biener wrote:

> What does _Widthof do to struct { int i : 3; } a.i?  Hmm.

See also N2958 regarding expressions such as (0, a.i), where 
implementations agree that it's not "an expression that designates a 
bit-field member" for the purposes of being disallowed in sizeof and 
typeof, and agree that integer promotions apply based on the declared 
width (but disagree on what the size is when such an expression is used 
inside sizeof).

-- 
Joseph S. Myers
[email protected]

Reply via email to