diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2008-07-31 15:32:51 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2008-07-31 08:32:51 -0700 |
commit | fc74cbc4bd40b9f1b0f58abff1fb9efecb5b1d49 (patch) | |
tree | 3053626ee1edae982f217440c2dc9137ad4bfbcd /gcc/dwarf2out.c | |
parent | 964771d9e9381a6bd8faca4f7c02b55bc2a90fe4 (diff) | |
download | gcc-fc74cbc4bd40b9f1b0f58abff1fb9efecb5b1d49.zip gcc-fc74cbc4bd40b9f1b0f58abff1fb9efecb5b1d49.tar.gz gcc-fc74cbc4bd40b9f1b0f58abff1fb9efecb5b1d49.tar.bz2 |
re PR debug/36980 (Bootstrap broken with RTL checking on i586)
2008-07-31 H.J. Lu <hongjiu.lu@intel.com>
PR debug/36980
* dwarf2out.c (dwarf2out_frame_debug_expr): Move rule 17 before
rule 19.
From-SVN: r138424
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 888ac99..2fc23a5 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -2024,6 +2024,13 @@ dwarf2out_frame_debug_expr (rtx expr, const char *label) gcc_unreachable (); } + /* Rule 17 */ + /* If the source operand of this MEM operation is not a + register, basically the source is return address. Here + we only care how much stack grew and we don't save it. */ + if (!REG_P (src)) + break; + if (REGNO (src) != STACK_POINTER_REGNUM && REGNO (src) != HARD_FRAME_POINTER_REGNUM && (unsigned) REGNO (src) == cfa.reg) @@ -2082,12 +2089,6 @@ dwarf2out_frame_debug_expr (rtx expr, const char *label) break; } } - /* Rule 17 */ - /* If the source operand of this MEM operation is not a - register, basically the source is return address. Here - we only care how much stack grew and we don't save it. */ - if (!REG_P (src)) - break; def_cfa_1 (label, &cfa); { |