diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-18 23:20:19 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-18 23:20:19 +0000 |
commit | f52483b521c7b159573fadd04a86feb13363dbc2 (patch) | |
tree | f6256a46a8fe9fd54c5f8fa94aaed268e376f33b /gcc/sdbout.c | |
parent | 0ecd40382be58ef287e29464a46f1a173fb5d00c (diff) | |
download | gcc-f52483b521c7b159573fadd04a86feb13363dbc2.tar.gz |
* tree.c (build_range_type): Allow creation of ranges with no maximum.
* dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
* dwarf2out.c (add_subscript_info): Likewise.
* dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
* sdbout.c (plain_type_1): Likewise.
* stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
Likewise.
* fold-const.c (int_const_binop, fold_convert, make_range, fold):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17142 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index ef1ff29604d..14c5b40dc32 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -584,6 +584,7 @@ plain_type_1 (type, level) if (sdb_n_dims < SDB_MAX_DIM) sdb_dims[sdb_n_dims++] = (TYPE_DOMAIN (type) + && TYPE_MAX_VALUE (TYPE_DOMAIN (type)) && TREE_CODE (TYPE_MAX_VALUE (TYPE_DOMAIN (type))) == INTEGER_CST && TREE_CODE (TYPE_MIN_VALUE (TYPE_DOMAIN (type))) == INTEGER_CST ? (TREE_INT_CST_LOW (TYPE_MAX_VALUE (TYPE_DOMAIN (type))) |