tree.h (TYPE_STRING_FLAG): Document that this field may be used on INTEGER_TYPEs...
authorRoger Sayle <roger@eyesopen.com>
Fri, 3 Feb 2006 03:41:47 +0000 (03:41 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 3 Feb 2006 03:41:47 +0000 (03:41 +0000)
commit05fa7d54d9d020b7257512ce91831ee6a9b1c7ac
treeaa56cac1935a048daf6a597712da5bbee56347e1
parent016925bc68140a35fbc0dac86841d02704fc350c
tree.h (TYPE_STRING_FLAG): Document that this field may be used on INTEGER_TYPEs to indicate that it...

* tree.h (TYPE_STRING_FLAG): Document that this field may be used
on INTEGER_TYPEs to indicate that it denotes a character type.
* tree.c (build_common_tree_nodes): Set TYPE_STRING_FLAG on
signed_char_type_node, unsigned_char_type_node and char_type_node.
* dwarf2out.c (base_type_die): Treat CHAR_TYPE identically to
INTEGER_TYPE.  Use TYPE_STRING_FLAG to decide whether to emit
a DW_ATE_[un]signed_char instead of a DW_ATE_[un]signed.

From-SVN: r110536
gcc/ChangeLog
gcc/dwarf2out.c
gcc/tree.c
gcc/tree.h