> Looks ok, given the other ugliness in this macro.
Thanks. There is another pending workaround for IA-64:
http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00451.html
as well as an implementation of stack checking in the back-end:
http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00452.html
--
Eric
On 03/21/2012 01:03 PM, Eric Botcazou wrote:
> 2012-03-21 Eric Botcazou
>
> * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
> if it hasn't been previously saved.
Looks ok, given the other ugliness in this macro.
r~
Another latent issue exposed on IA-64 (both Linux and VMS) by GCC 4.7: the LC
(Loop Counter) register isn't preserved by the unwinder.
The compiler generates unwind info for LC and unwind-ia64.c:uw_install_context
restores it if this is deemed necessary. The hitch is that "deemed necessary"
me