Joern RENNECKE wrote:
java uses char_type_node for its character type, which is 16 bits.
gcc/java/decl.c:747 java_init_decl_processing:
TYPE_PRECISION (char_type_node) = 16;
On the other hand, tree.c uses char_type_node as the type of the
smallest addressable
unit:
tree.c:489 make_node_stat
case tcc_type:
TYPE_UID (t) = next_type_uid++;
TYPE_ALIGN (t) = char_type_node ? TYPE_ALIGN (char_type_node) : 0;
Could someone with a bit more java experience than be verify how we lay out
structs, unions and arrays with a single bool member? I suspect that
even without
my patch, they might be 8 bits large, 16 bit aligned