summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/f/symbol.c
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-04-04 13:21:36 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-04-04 13:21:36 +0000
commit50325cbab454647a313ba68279c844e2bc6143af (patch)
tree0e52e902317bb4442448c5c61ab6d2162111a240 /gnu/usr.bin/gcc/f/symbol.c
parentb2ad87cb6f8d3d16576e4e93251e0228f0672cdc (diff)
sync g77 to version 0.5.20 - i hope i got everything right because there
is no patch from 0.5.19 to 0.5.20 - so i did it by diffing two gcc trees looking carefully at the results what does the new g77 give us: * now it completely works on the alpha (64bit) * faster * less bugs :-)
Diffstat (limited to 'gnu/usr.bin/gcc/f/symbol.c')
-rw-r--r--gnu/usr.bin/gcc/f/symbol.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/usr.bin/gcc/f/symbol.c b/gnu/usr.bin/gcc/f/symbol.c
index f4978a0dc24..8b6595dcddd 100644
--- a/gnu/usr.bin/gcc/f/symbol.c
+++ b/gnu/usr.bin/gcc/f/symbol.c
@@ -1,5 +1,5 @@
/* Implementation of Fortran symbol manager
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Contributed by James Craig Burley (burley@gnu.ai.mit.edu).
This file is part of GNU Fortran.
@@ -359,7 +359,6 @@ ffesymbol_check (ffesymbol s, ffelexToken t, bool maybe_intrin)
ffeintrinGen gen;
ffeintrinSpec spec;
ffeintrinImp imp;
- ffeinfoKind kind;
if (!ffesrc_check_symbol ()
|| ((s->check_state != FFESYMBOL_checkstateNONE_)
@@ -377,7 +376,7 @@ ffesymbol_check (ffesymbol s, ffelexToken t, bool maybe_intrin)
if (maybe_intrin
&& ffeintrin_is_intrinsic (ffelex_token_text (t), NULL, FALSE,
- &gen, &spec, &imp, &kind))
+ &gen, &spec, &imp))
{
s->check_state = FFESYMBOL_checkstatePENDING_;
s->check_token = ffelex_token_use (t);
@@ -864,6 +863,13 @@ ffesymbol_error (ffesymbol s, ffelexToken t)
}
void
+ffesymbol_globalize (ffesymbol s)
+{
+ if (ffesymbol_global (s) == NULL)
+ ffesymbol_set_global (s, ffeglobal_promoted (s));
+}
+
+void
ffesymbol_init_0 ()
{
ffesymbolAttrs attrs = FFESYMBOL_attrsetNONE;