This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52205] SPARC Solaris 2.11 unwind through signal handler fails with -fnon-call-exceptions
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 11 Feb 2012 10:47:46 +0000
- Subject: [Bug target/52205] SPARC Solaris 2.11 unwind through signal handler fails with -fnon-call-exceptions
- Auto-submitted: auto-generated
- References: <bug-52205-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52205
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot
| |gnu.org
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-02-11 10:47:46 UTC ---
> I see this in both 32-bit and 64-bit mode. If I tweak
> libgcc/config/sparc/sol2-unwind.h so that sparc_is_sighandler sets *nframes to
> 3 rather than 2, then the test passes (I only tried this in 32-bit mode, not in
> 64-bit mode). The cuh_pattern test in sparc_is_sighandler does not match, so
> presumably it needs to be adjusted for Solaris 2.11. However, I'm not sure how
> to properly and safely correct it.
OK, let's at least try, first in 32-bit mode. What code path is taken exactly
in sparc_is_sighandler on Solaris 11?