[PATCH] dwarf2out: Fix up field_byte_offset [PR101378]

Eric Botcazou botcazou@adacore.com
Wed Nov 10 09:29:13 GMT 2021


> I think Ada has bitfields of aggregate types, so CCing Eric, though
> I'd hope it doesn't have bitfields where type size is smaller than
> field decl size like C++ has.

Assuming your sentence is written in the right sense :-) then, no, in Ada bit-
fields always have DECL_SIZE (bf) <= TYPE_SIZE (TREE_TYPE (bf)).

-- 
Eric Botcazou




More information about the Gcc-patches mailing list