diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-02-03 03:41:47 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-02-03 03:41:47 +0000 |
commit | 05fa7d54d9d020b7257512ce91831ee6a9b1c7ac (patch) | |
tree | aa56cac1935a048daf6a597712da5bbee56347e1 /gcc/tree.h | |
parent | 016925bc68140a35fbc0dac86841d02704fc350c (diff) | |
download | gcc-05fa7d54d9d020b7257512ce91831ee6a9b1c7ac.zip gcc-05fa7d54d9d020b7257512ce91831ee6a9b1c7ac.tar.gz gcc-05fa7d54d9d020b7257512ce91831ee6a9b1c7ac.tar.bz2 |
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
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2013,7 +2013,7 @@ struct tree_block GTY(()) /* If set in an ARRAY_TYPE, indicates a string type (for languages that distinguish string from array of char). - If set in a SET_TYPE, indicates a bitstring type. */ + If set in a INTEGER_TYPE, indicates a character type. */ #define TYPE_STRING_FLAG(NODE) (TYPE_CHECK (NODE)->type.string_flag) /* If non-NULL, this is an upper bound of the size (in bytes) of an |