[04/32] cpp lexer
Joseph Myers
joseph@codesourcery.com
Tue Nov 3 23:08:21 GMT 2020
On Tue, 3 Nov 2020, Nathan Sidwell wrote:
> @@ -888,9 +915,9 @@ struct GTY(()) cpp_hashnode {
> unsigned int directive_index : 7; /* If is_directive,
> then index into directive table.
> Otherwise, a NODE_OPERATOR. */
> - unsigned char rid_code; /* Rid code - for front ends. */
> + unsigned int rid_code : 8; /* Rid code - for front ends. */
> + unsigned int flags : 9; /* CPP flags. */
> ENUM_BITFIELD(node_type) type : 2; /* CPP node type. */
> - unsigned int flags : 8; /* CPP flags. */
>
> /* 6 bits spare (plus another 32 on 64-bit hosts). */
I'd expect this "6 bits spare" comment to be updated when expanding the
flags field.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list