aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWeiwen Liu <liu@hepmail.physics.yale.edu>1998-01-02 04:59:12 +0000
committerRichard Henderson <rth@gcc.gnu.org>1998-01-01 20:59:12 -0800
commitef86d2ee000db414bc9190e9f4480b7f9c73dc23 (patch)
tree26f0162219b8a50334f3f53f4c285690a211c766 /gcc
parent6c174fc0e6e8e1b32cd9a3fd3950fe28f609de1c (diff)
downloadgcc-ef86d2ee000db414bc9190e9f4480b7f9c73dc23.zip
gcc-ef86d2ee000db414bc9190e9f4480b7f9c73dc23.tar.gz
gcc-ef86d2ee000db414bc9190e9f4480b7f9c73dc23.tar.bz2
* alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
From-SVN: r17279
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/alpha/alpha.c24
2 files changed, 16 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8e52ace..95b7456 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 168ca7c..eb2cd82 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;