From ef86d2ee000db414bc9190e9f4480b7f9c73dc23 Mon Sep 17 00:00:00 2001 From: Weiwen Liu Date: Fri, 2 Jan 1998 04:59:12 +0000 Subject: [PATCH] * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS. From-SVN: r17279 --- gcc/ChangeLog | 4 ++++ gcc/config/alpha/alpha.c | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e52ace9210..95b745632c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 2 04:57:57 1998 Weiwen Liu + + * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS. + Fri Jan 2 04:34:14 1998 Richard Henderson * c-decl.c (init_decl_processing): Provide proper fallback symbol diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 168ca7c8b99..eb2cd82303e 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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;