aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2005-05-10 22:40:37 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2005-05-10 22:40:37 +0000
commitf30990b2eefb22de76b53184f33cf87ef0a59425 (patch)
tree3c192eb398beefd572075f215cd4eb5cbfb5515b /gcc/tree-optimize.c
parent5deaef19e6360dc228e4b11cac2070fabdb036f4 (diff)
downloadgcc-f30990b2eefb22de76b53184f33cf87ef0a59425.zip
gcc-f30990b2eefb22de76b53184f33cf87ef0a59425.tar.gz
gcc-f30990b2eefb22de76b53184f33cf87ef0a59425.tar.bz2
read-rtl.c (struct macro_traverse_data): Define.
* read-rtl.c (struct macro_traverse_data): Define. (map_attr_string): New static function, broken out of apply_macro_to_string. (mode_attr_index, apply_mode_maps): New static functions. (apply_macro_to_string): Call map_attr_string. (apply_macro_to_rtx): Add mode_maps and infile parameters. Change all callers. (apply_macro_traverse): Expect data to point to a struct macro_traverse_data. (read_rtx): Add mode_maps local variable. Use mode_traverse_data to pass data through htab_traverse. (read_rtx_1): Add mode_maps parameter. Change all callers. Handle mode names which are attribute strings. * doc/md.texi (Substitutions): Rename from String Substitutions. Change references. Document using attributes as modes. From-SVN: r99548
Diffstat (limited to 'gcc/tree-optimize.c')
0 files changed, 0 insertions, 0 deletions