http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50205

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> 2011-10-18 
12:36:20 UTC ---
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

Reply via email to