]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/alias.c
re PR rtl-optimization/45652 (gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselect...
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 22 Nov 2010 10:35:06 +0000 (13:35 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Mon, 22 Nov 2010 10:35:06 +0000 (13:35 +0300)
commit8fd0a474882a4e7419e84808f8a52f0feb667b49
treee9e9c058158ad6ffd6c71ebc44e91416cfc12a90
parent81ae7e14a29f89864f04cb966aa5bb5f52a29c8d
re PR rtl-optimization/45652 (gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselective-scheduling2)

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.

testsuite:
* gcc.dg/pr45652.c: New.

From-SVN: r167025
gcc/ChangeLog
gcc/alias.c
gcc/rtl.h
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr45652.c [new file with mode: 0644]