2009-08-24 Steve Ellcey <sje@cup.hp.com>
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2009 21:35:16 +0000 (21:35 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2009 21:35:16 +0000 (21:35 +0000)
* config/ia64/ia64.c (ia64_promote_function_mode): Call
default_promote_function_mode when not VMS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151064 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 2d03118..e3649ea 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-24  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.c (ia64_promote_function_mode): Call
+       default_promote_function_mode when not VMS.
+
 2009-08-24  Olivier Hainque  <hainque@adacore.com>
 
        * convert.c (convert_to_integer): Don't assume an input pointer is
index a36e9d2..42eec17 100644 (file)
@@ -10676,13 +10676,14 @@ static enum machine_mode
 ia64_promote_function_mode (const_tree type,
                            enum machine_mode mode,
                            int *punsignedp,
-                           const_tree funtype ATTRIBUTE_UNUSED,
-                           int for_return ATTRIBUTE_UNUSED)
+                           const_tree funtype,
+                           int for_return)
 {
   /* Special processing required for OpenVMS ...  */
 
   if (!TARGET_ABI_OPEN_VMS)
-    return mode;
+    return default_promote_function_mode(type, mode, punsignedp, funtype,
+                                        for_return);
 
   /* HP OpenVMS Calling Standard dated June, 2004, that describes
      HP OpenVMS I64 Version 8.2EFT,