http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45652
--- Comment #12 from Andrey Belevantsev <abel at gcc dot gnu.org> 2011-04-07 06:53:48 UTC --- Author: abel Date: Thu Apr 7 06:53:44 2011 New Revision: 172080 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172080 Log: Backport from mainline 2010-11-22 Alexander Monakov <amona...@ispras.ru> PR rtl-optimization/45652 * alias.c (get_reg_base_value): New. * rtl.h (get_reg_base_value): Add prototype. * sel-sched.c (init_regs_for_mode): Use it. Don't use registers with non-null REG_BASE_VALUE for renaming. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr45652.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/alias.c branches/gcc-4_5-branch/gcc/rtl.h branches/gcc-4_5-branch/gcc/sel-sched.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog