]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Invalidate cached next real insn in dwarf2out_end_epilogue().
authorDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2011 21:51:22 +0000 (21:51 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 31 Oct 2011 21:51:22 +0000 (14:51 -0700)
* 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

gcc/ChangeLog
gcc/dwarf2out.c

index caed12e5e6940b4479452b4a323e27218e9df9a1..4848147bf620874bb238b4f3e4b4bb75bb186aa0 100644 (file)
@@ -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.
index 478952f7211305a65e4d32921c33d1f2f53b73b9..e6f86a49854a1c3825aa5f47e754186ba94a8408 100644 (file)
@@ -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;