Ping^2: Patch to fix bootstrap on IA64 HP-UX - GCC 4.3.0 regression

Steve Ellcey sje@cup.hp.com
Tue May 6 16:33:00 GMT 2008


This is a re-ping for approval to check in this patch.  It is preventing
the bootstrap of GCC on IA64 HP-UX on both the main line and on the 4.3
branch.  I would really like approval to check this in so that GCC 4.3.1
will bootstrap on IA64 HP-UX.

I modified the patch slightly from the original patch based on feed back
from Jakub Jelinek.

OK for checkin?  Tested on IA64 HP-UX and Linux and on PA HP-UX.

Steve Ellcey
sje@cup.hp.com


2008-05-06  Steve Ellcey  <sje@cup.hp.com>

	* stmt.c (expand_stack_restore): Change sa mode if needed.


Index: stmt.c
===================================================================
--- stmt.c	(revision 134970)
+++ stmt.c	(working copy)
@@ -1996,6 +1996,7 @@ expand_stack_restore (tree var)
 {
   rtx sa = expand_normal (var);
 
+  sa = convert_memory_address (Pmode, sa);
   emit_stack_restore (SAVE_BLOCK, sa, NULL_RTX);
 }
 



More information about the Gcc-patches mailing list