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 target/50737] FAIL: Throw_3 -O3 execution, generic dwarf2 EH problem?


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.


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