aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-05-01 09:32:34 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-05-01 09:32:34 +0000
commitf5052e291a2fdb6eb5c9a968b9a1a68a12aa5866 (patch)
tree914b1022265dcfffca36896f0385911af5e5f816 /gcc/cfgexpand.c
parent42b5a16d408d1c619a3bc1c21fcc08ceaeab7534 (diff)
downloadgcc-f5052e291a2fdb6eb5c9a968b9a1a68a12aa5866.zip
gcc-f5052e291a2fdb6eb5c9a968b9a1a68a12aa5866.tar.gz
gcc-f5052e291a2fdb6eb5c9a968b9a1a68a12aa5866.tar.bz2
tree-vrp.c (set_value_range): Do not allocate equiv bitmap if it is not about to be set.
2007-05-01 Richard Guenther <rguenther@suse.de> * tree-vrp.c (set_value_range): Do not allocate equiv bitmap if it is not about to be set. (get_value_range): Do not pre-allocate equiv bitmap. (update_value_range): No need to clear equiv field. (add_equivalence): Change prototype to get bitmap pointer. Allocate bitmap here if it is not already. (extract_range_from_assert): Do not allocate bitmap here. Update callers to add_equivalence. (extract_range_from_ssa_name): Likewise. (get_vr_for_comparison): New static helper. (compare_name_with_value): Handle NULL equiv bitmap by peeling the first iteration of the comparison loop. Use get_vr_for_comparison. (compare_names): Handle NULL equiv bitmaps by using fake ones. Use get_vr_for_comparison. From-SVN: r124321
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions