Patchwork [committed,alpha/vms] Minor adjustments

login
register
mail settings
Submitter Tristan Gingold
Date Oct. 21, 2010, 8:24 a.m.
Message ID <6CF575B5-DD97-497D-8AB7-217EB51954A0@adacore.com>
Download mbox | patch
Permalink /patch/68545/
State New
Headers show

Comments

Tristan Gingold - Oct. 21, 2010, 8:24 a.m.
Hi,

this patch fixes two minors issues for alpha/vms:
* the unwinder fallback sets signal_frame (to have different CFAs)
* a typo/adjustment after a change with CUMULATIVE_ARGS.

Committed on trunk.
Tristan.

2010-10-21  Tristan Gingold  <gingold@adacore.com>

	* config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state): Set
	signal_frame.
	* config/alpha/alpha.c (alpha_function_arg): Adjust call.

2010-10-21  Tristan Gingold  <gingold@adacore.com>

 	* config/ia64/vms64.h (TARGET_DEFAULT): Add MASK_FUSED_MADD.
 	* config/ia64/vms.h (TARGET_DEFAULT): Ditto.

Patch

Index: gcc/config/alpha/vms-unwind.h
===================================================================
--- gcc/config/alpha/vms-unwind.h	(revision 165750)
+++ gcc/config/alpha/vms-unwind.h	(working copy)
@@ -284,6 +284,8 @@ 
       /* ??? floating point registers ?  */
     }
 
+  fs->signal_frame = 1;
+
   return _URC_NO_REASON;
 }
 
Index: gcc/config/alpha/alpha.c
===================================================================
--- gcc/config/alpha/alpha.c	(revision 165750)
+++ gcc/config/alpha/alpha.c	(working copy)
@@ -5665,7 +5665,7 @@ 
 #if TARGET_ABI_OPEN_VMS
     {
       if (mode == VOIDmode)
-	return alpha_arg_info_reg_val (cum);
+	return alpha_arg_info_reg_val (*cum);
 
       num_args = cum->num_args;
       if (num_args >= 6