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++/41214] [4.5 regression] Null pointer dereferenced in _Unwind_SetGR()



------- Comment #7 from rguenth at gcc dot gnu dot org  2009-09-05 20:39 -------
Your patch is probably correct as

static void
uw_init_context_1 (struct _Unwind_Context *context,
                   void *outer_cfa, void *outer_ra)
{
  void *ra = __builtin_extract_return_addr (__builtin_return_address (0));

the bultin return address is obviously going to be different if the function
is inlined.

Can you please post it for review to gcc-patches@gcc.gnu.org?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-05 20:39:48
               date|                            |


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


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