This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50737] FAIL: Throw_3 -O3 execution, generic dwarf2 EH problem?
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Oct 2011 16:35:16 +0000
- Subject: [Bug target/50737] FAIL: Throw_3 -O3 execution, generic dwarf2 EH problem?
- Auto-submitted: auto-generated
- References: <bug-50737-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50737
--- Comment #8 from Uros Bizjak <ubizjak at gmail dot com> 2011-10-15 16:35:16 UTC ---
(In reply to comment #7)
> > ... but looking at Dwarf2 frames dump, there is no "S" in any of the CIE
> > augmentation data.
>
> Try to add
>
> fs->signal_frame = 1;
>
> at the end of alpha_fallback_frame_state then.
Whoa, Throw_3 passes with following patch:
Index: config/alpha/linux-unwind.h
===================================================================
--- config/alpha/linux-unwind.h (revision 179788)
+++ config/alpha/linux-unwind.h (working copy)
@@ -74,5 +74,7 @@
fs->regs.reg[64].how = REG_SAVED_OFFSET;
fs->regs.reg[64].loc.offset = (long)&sc->sc_pc - new_cfa;
fs->retaddr_column = 64;
+ fs->signal_frame = 1;
+
return _URC_NO_REASON;
}
I'm doing full bootstrap+regression test.