r116684 - in /branches/gcc-4_1-branch/gcc: Chan...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Mon Sep 4 19:35:00 GMT 2006


Author: ebotcazou
Date: Mon Sep  4 19:35:09 2006
New Revision: 116684

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116684
Log:
	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.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/20060904-1.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/cse.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list