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 c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)



------- Comment #9 from asteinarson at gmail dot com  2008-01-06 23:18 -------
(In reply to comment #8)
> Subject: Bug 34152
> 
> Author: jakub
> Date: Sun Jan  6 20:25:57 2008
> New Revision: 131361
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131361
> Log:
>         PR c++/34152
>         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
>         _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.

I've checked this. From line 446 of libsupc++/eh_personality.cc: 

  // Parse the LSDA header.
  p = parse_lsda_header (context, language_specific_data, &info);
  info.ttype_base = base_of_encoded_value (info.ttype_encoding, context);
#ifdef _GLIBCXX_HAVE_GETIPINFO
  ip = _Unwind_GetIPInfo (context, &ip_before_insn);
#else
  ip = _Unwind_GetIP (context);
#endif

I've rebuild with the patch in a clean directory. g++ --version gives: 

$ g++43 --version
g++43 (GCC) 4.3.0 20080104 (experimental)


Regards
// ATS

> 
> Modified:
>     trunk/libstdc++-v3/ChangeLog
>     trunk/libstdc++-v3/libsupc++/eh_personality.cc
> 


-- 


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


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