diff options
author | David S. Miller <davem@davemloft.net> | 2011-10-31 21:51:22 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2011-10-31 14:51:22 -0700 |
commit | 82a595022800fde2004b64570983ea850030eeeb (patch) | |
tree | 41dfde41df45574276c56378797784c16b0269ac /gcc | |
parent | b59546bf651a60f59b74826dfc7317b941c6b6d1 (diff) | |
download | gcc-82a595022800fde2004b64570983ea850030eeeb.zip gcc-82a595022800fde2004b64570983ea850030eeeb.tar.gz gcc-82a595022800fde2004b64570983ea850030eeeb.tar.bz2 |
Invalidate cached next real insn in dwarf2out_end_epilogue().
* dwarf2out.c (cached_next_real_insn): New.
(dwarf2out_end_epilogue): Set it to NULL_RTX.
(dwarf2out_var_location): Remove cached_next_real_insn local static.
From-SVN: r180713
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index caed12e..4848147 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-10-31 David S. Miller <davem@davemloft.net> + + * dwarf2out.c (cached_next_real_insn): New. + (dwarf2out_end_epilogue): Set it to NULL_RTX. + (dwarf2out_var_location): Remove cached_next_real_insn local static. + 2011-10-31 Richard Henderson <rth@redhat.com> * config/i386/sse.md (floatv8siv8sf2): Rename from avx_cvtdq2ps256. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 478952f..e6f86a4 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -98,6 +98,7 @@ along with GCC; see the file COPYING3. If not see static void dwarf2out_source_line (unsigned int, const char *, int, bool); static rtx last_var_location_insn; +static rtx cached_next_real_insn; #ifdef VMS_DEBUGGING_INFO int vms_file_stats_name (const char *, long long *, long *, char *, int *); @@ -1090,6 +1091,7 @@ dwarf2out_end_epilogue (unsigned int line ATTRIBUTE_UNUSED, char label[MAX_ARTIFICIAL_LABEL_BYTES]; last_var_location_insn = NULL_RTX; + cached_next_real_insn = NULL_RTX; if (dwarf2out_do_cfi_asm ()) fprintf (asm_out_file, "\t.cfi_endproc\n"); @@ -20132,7 +20134,6 @@ dwarf2out_var_location (rtx loc_note) static const char *last_postcall_label; static bool last_in_cold_section_p; static rtx expected_next_loc_note; - static rtx cached_next_real_insn; tree decl; bool var_loc_p; |