On Sat, 6 Dec 2025, Jakub Jelinek wrote:

> Hi!
> 
> The following testcase ICEs since checking has been added to TYPE_PRECISION
> macro.  check_bitfield_type_and_width is called when attributes haven't
> been applied to the bit-field decl yet and so it still has INTEGER_TYPE
> type, while at finish_struct time it already has VECTOR_TYPE.
> 
> The following patch just repeats the check_bitfield_type_and_width
> in there.
> 
> Another option would be let handle_vector_size_attribute check for
> bit-fields and error out there.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

OK.

-- 
Joseph S. Myers
[email protected]

Reply via email to