• jakub's avatar
    PR rtl-optimization/15139 · 9c8b7028
    jakub authored
    	* combine.c: Include params.h.
    	(count_rtxs): New function.
    	(record_value_for_reg): If replace_rtx would replace at least
    	2 occurrences of REG in VALUE and TEM is really large, replace REG with
    	(clobber (const_int 0)) instead of TEM.
    	* params.def (PARAM_MAX_LAST_VALUE_RTL): New.
    	* params.h (MAX_LAST_VALUE_RTL): New.
    	* Makefile.in (combine.o): Depend on $(PARAMS_H).
    	* doc/invoke.texi (--param max-last-value-rtl=N): Document.
    
    	* gcc.dg/20050111-2.c: New test.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93892 138bc75d-0d04-0410-961f-82ee72b054a4
    9c8b7028
ChangeLog 846 KB