r180135 - in /trunk/gcc: ChangeLog sel-sched.c ...

amonakov@gcc.gnu.org amonakov@gcc.gnu.org
Tue Oct 18 12:36:00 GMT 2011


Author: amonakov
Date: Tue Oct 18 12:36:16 2011
New Revision: 180135

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180135
Log:
	PR rtl-optimization/50205
	* sel-sched.c (count_occurrences_1): Simplify on the assumption that
	p->x is a register.  Forbid substitution when the same register is
	found in a different mode.
	(count_occurrences_equiv): Assert that 'what' is a register.

	* gcc.dg/pr50205.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/pr50205.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sel-sched.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list