diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2010-11-22 13:35:06 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2010-11-22 13:35:06 +0300 |
commit | 8fd0a474882a4e7419e84808f8a52f0feb667b49 (patch) | |
tree | e9e9c058158ad6ffd6c71ebc44e91416cfc12a90 /gcc/rtl.h | |
parent | 81ae7e14a29f89864f04cb966aa5bb5f52a29c8d (diff) | |
download | gcc-8fd0a474882a4e7419e84808f8a52f0feb667b49.zip gcc-8fd0a474882a4e7419e84808f8a52f0feb667b49.tar.gz gcc-8fd0a474882a4e7419e84808f8a52f0feb667b49.tar.bz2 |
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
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2510,6 +2510,7 @@ extern rtx find_base_term (rtx); extern rtx gen_hard_reg_clobber (enum machine_mode, unsigned int); extern rtx get_reg_known_value (unsigned int); extern bool get_reg_known_equiv_p (unsigned int); +extern rtx get_reg_base_value (unsigned int); #ifdef STACK_REGS extern int stack_regs_mentioned (const_rtx insn); |