diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-04-20 14:19:51 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-04-20 14:19:51 +0200 |
commit | 757e8ba242c179e76379c617a417283a2e1f40f4 (patch) | |
tree | 3f6e41a7f11c3a0430801cc7cdfcbf3fcd38d567 /gcc/dse.c | |
parent | faaf273bb0591fe719fcdd18b6c0941f98aa342b (diff) | |
download | gcc-757e8ba242c179e76379c617a417283a2e1f40f4.zip gcc-757e8ba242c179e76379c617a417283a2e1f40f4.tar.gz gcc-757e8ba242c179e76379c617a417283a2e1f40f4.tar.bz2 |
re PR bootstrap/53021 (bootstrap failure on Linux/ia32)
PR bootstrap/53021
* alias.h (UNIQUE_BASE_VALUE_SP, UNIQUE_BASE_VALUE_ARGP,
UNIQUE_BASE_VALUE_FP, UNIQUE_BASE_VALUE_HFP): Define.
* alias.c (init_alias_targets): Use UNIQUE_BASE_VALUE_*
macros instead of constants.
* dse.c (record_store): Check for SP ADDRESS by comparing
XWINT to UNIQUE_BASE_VALUE_SP instead of expecting
XEXP to be stack_pointer_rtx.
From-SVN: r186623
Diffstat (limited to 'gcc/dse.c')
-rw-r--r-- | gcc/dse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* RTL dead store elimination. - Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 + Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. Contributed by Richard Sandiford <rsandifor@codesourcery.com> @@ -1503,7 +1503,7 @@ record_store (rtx body, bb_info_t bb_info) if (!base_term || (GET_CODE (base_term) == ADDRESS && GET_MODE (base_term) == Pmode - && XEXP (base_term, 0) == stack_pointer_rtx)) + && XWINT (base_term, 0) == UNIQUE_BASE_VALUE_SP)) insn_info->stack_pointer_based = true; insn_info->contains_cselib_groups = true; |