On Tue, 2011-03-01 at 11:10 +0100, Richard Guenther wrote:

> It comes from the fact that we delay choosing a personality function
> for functions that are happy with any personality.  There is
> the function_needs_eh_personality () function that decides this.
> If you force that to never return eh_personality_any but
> eh_personality_lang this optimization would not happen.
> 
> Note that the missing personality function in libgcc_s is a bug though
> as rth notes.
> 
> Richard.

Yes, if I change function_needs_eh_personality () to return
eh_personality_lang instead of eh_personality_any then the test passes.

According to PR 20095 the reason for not implementing
__gcc_personality_v0 is that the HP unwind library does not implement
_UA_END_OF_STACK which is a GCC extension to the standard IA64 unwind
ABI and the HP-UX system unwind does not support it so the only way
to implement __gcc_personality_v0 is to use the GCC libunwind instead of
the HP-UX system one.

Steve Ellcey
s...@cup.hp.com


Reply via email to