This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
patch to compile on vms
- To: egcs at cygnus dot com
- Subject: patch to compile on vms
- From: Weiwen Liu <weiwen dot liu at yale dot edu>
- Date: Mon, 29 Dec 1997 20:09:28 -0500 (EST)
- Reply-To: Weiwen Liu <weiwen dot liu at yale dot edu>
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 ----