This is the mail archive of the gcc@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]

patch to compile on vms


While doing a cross-compile from dec-alpha-osf to dec-alpha-vms, I need to
apply the following patch.

Tue Dec 29 13:30:00 1997 Weiwen Liu <liu@hepmail.physics.yale.edu>
	* alpha.c: move vms_valid_decl_attribute_p.

*** alpha.c.~1~	Tue Dec 23 00:34:23 1997
--- alpha.c	Mon Dec 29 13:27:09 1997
***************
*** 2413,2418 ****
--- 2413,2430 ----
    SYMBOL_REF_FLAG (XEXP (DECL_RTL (current_function_decl), 0)) = 1;
  }
  
+ int
+ vms_valid_decl_attribute_p (decl, attributes, identifier, args)
+      tree decl;
+      tree attributes;
+      tree identifier;
+      tree args;
+ {
+   if (is_attribute_p ("overlaid", identifier))
+     return (args == NULL_TREE);
+   return 0;
+ }
+ 
  #else /* !OPEN_VMS */
  
  static int
***************
*** 2443,2460 ****
  	  return 1;
        }
  
-   return 0;
- }
- 
- int
- vms_valid_decl_attribute_p (decl, attributes, identifier, args)
-      tree decl;
-      tree attributes;
-      tree identifier;
-      tree args;
- {
-   if (is_attribute_p ("overlaid", identifier))
-     return (args == NULL_TREE);
    return 0;
  }
  
--- 2455,2460 ----




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