Can gatekeeper help review this fix?
Build error after check in new alias on IA64.
checking PLOC type, PLOC structrue on IA64 has 4 fields.

typedef struct {
    PREG_NUM reg;
#if defined(TARG_X8664) || defined(TARG_IA32)
    PREG_NUM reg2;    /* for second register used in passing a struct */
#endif
    INT32 start_offset;
    INT32 size;
    PREG_NUM vararg_reg;
} PLOC;

Index: osprey/be/com/constraint_graph.cxx
===================================================================
--- osprey/be/com/constraint_graph.cxx    (revision 3438)
+++ osprey/be/com/constraint_graph.cxx    (working copy)
@@ -2350,7 +2350,11 @@
       for (INT i = First_Int_Preg_Param_Offset;
           i <
First_Int_Preg_Param_Offset+MAX_NUMBER_OF_REGISTER_PARAMETERS;
           ++i) {
+#if defined(TARG_X8664) || defined(TARG_IA32)
         PLOC ploc = { i,0,0,0,0 };
+#else
+        PLOC ploc = { i,0,0,0 };
+#endif
         ST *st = Get_Vararg_Symbol(ploc);
         if (st) {
           _cgStInfoMap[CG_ST_st_idx(st)] = vaStInfo;
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to