aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2010-11-22 13:35:06 +0300
committerAlexander Monakov <amonakov@gcc.gnu.org>2010-11-22 13:35:06 +0300
commit8fd0a474882a4e7419e84808f8a52f0feb667b49 (patch)
treee9e9c058158ad6ffd6c71ebc44e91416cfc12a90 /gcc/rtl.h
parent81ae7e14a29f89864f04cb966aa5bb5f52a29c8d (diff)
downloadgcc-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index ab215d6..d5a6748 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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);