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: Ping: Patch to fix bootstrap on IA64 HP-UX


On Tue, Apr 29, 2008 at 10:06 AM, Steve Ellcey <sje@cup.hp.com> wrote:
>
>  This is a ping for a patch to fix IA64 HP-UX bootstrap.  The bootstrap
>  stopped working due to this patch:
>
>   2007-12-04  Jakub Jelinek  <jakub@redhat.com>
>         PR middle-end/34134
>         * stmt.c (expand_stack_restore): Call expand_normal on var to get
>         rtx for it instead of assuming it will be a VAR_DECL.
>
>  Before this patch the variable sa was always getting created as a DImode
>  variable and after the patch the variable became ptr_mode which is
>  DImode on Linux or when compiling in 64 bit mode on HP-UX but SImode
>  when compiling on HP-UX in 32 bit mode.  Because IA64 tries to save the
>  stack pointer as DImode (Pmode) even in 32 bit mode the code started
>  failing when it tried to find a move instruction with mismatched (SI/DI)
>  operations.

This might also be needed for LV2 which has the same issue where
ptr_mode is SImode while Pmode is DImode.

Thanks,
Andrew Pinski


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