aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2006-09-04 21:33:24 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-09-04 19:33:24 +0000
commit5bb51e1d55ed5448130dd532ffa01c15bc77e113 (patch)
treece136ce4de60baf3887aab1aea174d9a6a8969d1 /gcc/tree-if-conv.c
parentafe08db5e6eca5919176811710d7fc74f354b7e6 (diff)
downloadgcc-5bb51e1d55ed5448130dd532ffa01c15bc77e113.zip
gcc-5bb51e1d55ed5448130dd532ffa01c15bc77e113.tar.gz
gcc-5bb51e1d55ed5448130dd532ffa01c15bc77e113.tar.bz2
re PR rtl-optimization/27616 (Infinite loop at -O1 and above in RTL CSE)
PR rtl-optimization/27616 * cse.c (table_size): New static variable. (new_basic_block): Initialize it to 0. (remove_from_table): Decrement it. (insert): Increment it. (fold_rtx_mem_1): New function, renamed from fold_rtx_mem. (fold_rtx_mem): Enforce a cap on the recursion depth. Call fold_rtx_mem_1 if under the cap. (fold_rtx) <RTX_COMM_ARITH>: In the associative case, delay a little the lookup of the equivalent expression and test for equality of the first operand of the equivalent expression before in turn looking up an equivalent constant for the second operand. From-SVN: r116683
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions