------- Comment #19 from howarth at nitro dot med dot uc dot edu 2010-09-02
15:21 -------
(In reply to comment #17)
> 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 ();
>
This change alone applied to r163600 just crashes the compiler.
/Users/howarth/darwin_objdir/gcc/xgcc -B/Users/howarth/darwin_objdir/gcc/ -c
./sprintf-chk.c -w -Os -lm -m32
./sprintf-chk.c: In function test1:
./sprintf-chk.c:77:1: internal compiler error: in dwarf2out_frame_debug, at
dwarf2out.c:2714
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484