aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-decl.c
diff options
context:
space:
mode:
authorYufeng Zhang <yufeng.zhang@arm.com>2013-12-04 08:06:16 +0000
committerYufeng Zhang <yufeng@gcc.gnu.org>2013-12-04 08:06:16 +0000
commit96d75a2c8c3548926dffddfb3b1ce9ce2d51dcfe (patch)
tree94c5fbe90a160607cb09f605cc0b5e8b6382bc01 /gcc/c/c-decl.c
parent50312b2ff0e52bcbc8e8ff3bec3b229608c289f4 (diff)
downloadgcc-96d75a2c8c3548926dffddfb3b1ce9ce2d51dcfe.zip
gcc-96d75a2c8c3548926dffddfb3b1ce9ce2d51dcfe.tar.gz
gcc-96d75a2c8c3548926dffddfb3b1ce9ce2d51dcfe.tar.bz2
gimple-ssa-strength-reduction.c: Include tree-affine.h.
gcc/ * gimple-ssa-strength-reduction.c: Include tree-affine.h. (name_expansions): New static variable. (alt_base_map): Ditto. (get_alternative_base): New function. (find_basis_for_candidate): For CAND_REF, optionally call find_basis_for_base_expr with the returned value from get_alternative_base. (record_potential_basis): Add new parameter 'base' of type 'tree'; add an assertion of non-NULL base; use base to set node->base_expr. (alloc_cand_and_find_basis): Update; call record_potential_basis for CAND_REF with the returned value from get_alternative_base. (replace_refs): Dump details on the replacing. (execute_strength_reduction): Call pointer_map_create for alt_base_map; call free_affine_expand_cache with &name_expansions. gcc/testsuite/ * gcc.dg/tree-ssa/slsr-39.c: Update. * gcc.dg/tree-ssa/slsr-41.c: New test. From-SVN: r205655
Diffstat (limited to 'gcc/c/c-decl.c')
0 files changed, 0 insertions, 0 deletions