This is the mail archive of the gcc-patches@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]

Re: Patch for PR target/27880 (Use of _Unwind_GetIPInfo)


Steve,
   Shouldn't that be...

   /* Parse the LSDA header.  */
   p = parse_lsda_header (context, language_specific_data, &info);
 #ifdef HAVE_GETIPINFO
   ip = _Unwind_GetIPInfo (context, &ip_before_insn);
   if (! ip_before_insn)
     --ip;
 #else
   ip = _Unwind_GetIP (context) - 1;
 #endif
   landing_pad = 0;

...instead?

http://gcc.gnu.org/viewcvs/trunk/gcc/unwind-c.c?r1=107091&r2=111488&diff_format=h

FYI,
             Jack


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