This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [patch] Fix oddity in personality routine
On Fri, Nov 13, 2009 at 7:17 PM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
>> Index: exception.cc
>> ===================================================================
>> --- exception.cc ? ? ?(revision 154059)
>> +++ exception.cc ? ? ?(working copy)
>> @@ -328,7 +328,7 @@ PERSONALITY_FUNCTION (int version,
>> ?#ifdef HAVE_GETIPINFO
>> ? ?ip = _Unwind_GetIPInfo (context, &ip_before_insn);
>> ?#else
>> - ?ip = _Unwind_GetIP (context) - 1;
>> + ?ip = _Unwind_GetIP (context);
>> ?#endif
>> ? ?if (! ip_before_insn)
>> ? ? ?--ip;
>
>
> Shouldn't this fix also get backported to gcc-4_4-branch and
> gcc-4_3-branch as well? They both have r128098.
Jack, can you confirm that this actually fixes the problem you are
seeing on Darwin? r128098 dates from 2007 - it's hard to believe that
nobody has had a working GCJ on Darwin since then!
Bryce