diff options
author | Richard Henderson <rth@cygnus.com> | 1999-02-21 10:30:37 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-02-21 10:30:37 -0800 |
commit | 7ee37ba40c711500d040d253a0cf49c635100d5a (patch) | |
tree | d06b5d850ee53d4ec20bbdfc14b0cbeb32def76c /gcc/objc | |
parent | 0301787454dd52a66d62d421f8a4015ab62686ae (diff) | |
download | gcc-7ee37ba40c711500d040d253a0cf49c635100d5a.zip gcc-7ee37ba40c711500d040d253a0cf49c635100d5a.tar.gz gcc-7ee37ba40c711500d040d253a0cf49c635100d5a.tar.bz2 |
genattrtab.c (check_attr_value): Allow negative const_int if negative_ok.
* genattrtab.c (check_attr_value): Allow negative const_int if
negative_ok. Accept integral arithmetic operators. Accept
direct references to other attributes. Accept symbol_ref in
non-constant attributes.
(max_attr_value): Add new argument `unknownp'. Update all callers.
(or_attr_value): Likewise.
(simplify_knowing): Don't optimize if max_attr_value unknown.
(write_length_unit_log): Likewise with or_attr_value.
(find_and_mark_used_attributes): Don't fallthru case.
(write_attr_set): Pass thru all non-cond expressions.
(write_attr_value): Handle symbol_ref, attr, and arithmetic.
From-SVN: r25348
Diffstat (limited to 'gcc/objc')
0 files changed, 0 insertions, 0 deletions