* alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.

From-SVN: r17279
This commit is contained in:
Weiwen Liu 1998-01-02 04:59:12 +00:00 committed by Richard Henderson
parent 6c174fc0e6
commit ef86d2ee00
2 changed files with 16 additions and 12 deletions

View File

@ -1,3 +1,7 @@
Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
* alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
* c-decl.c (init_decl_processing): Provide proper fallback symbol

View File

@ -3015,6 +3015,18 @@ output_epilog (file, size)
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
@ -3048,18 +3060,6 @@ alpha_does_function_need_gp ()
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;
}
void
output_prolog (file, size)
FILE *file;