This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/45484] Invalid memory access in gcc.c-torture/execute/builtins/sprintf-chk.c



------- Comment #17 from hjl dot tools at gmail dot com  2010-09-02 14:43 -------
No idea if it is correct:

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index b550d86..decfd65 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -8121,6 +8121,7 @@ output_set_got (rtx dest, rtx label ATTRIBUTE_UNUSED)
       if (dwarf2out_do_frame ())
        {
          rtx insn;
+         dwarf2out_frame_debug (NULL_RTX, false);
          start_sequence ();
          insn = emit_barrier ();
          end_sequence ();


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]