]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/15855 (g++ crash with -O2 and -O3 on input file)
authorRichard Guenther <rguenther@suse.de>
Mon, 26 Sep 2005 08:38:29 +0000 (08:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 26 Sep 2005 08:38:29 +0000 (08:38 +0000)
commit9727e468b1f04524bc4ff08bf96673e3eba55e45
tree6826afed42e7bcac33317919741d34240ac343da
parent3f1dfb4145288595055e9fd06afa8a66fae4d86d
re PR middle-end/15855 (g++ crash with -O2 and -O3 on input file)

2005-09-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/15855
* gcse.c: Include hashtab.h, define ldst entry hashtable.
(pre_ldst_expr_hash, pre_ldst_expr_eq): New functions.
(ldst_entry): Use the hashtable instead of list-walking.
(find_rtx_in_ldst): Likewise.
(free_ldst_entry): Free the hashtable.
(compute_ld_motion_mems): Create the hashtable.
(trim_ld_motion_mems): Remove entry from hashtable if
removing it from list.
(compute_store_table): Likewise^2.
(store_motion): Free hashtable in case we did not see
any stores.

From-SVN: r104641
gcc/ChangeLog
gcc/gcse.c
This page took 0.055856 seconds and 5 git commands to generate.