diff options
author | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-07-09 16:53:45 +0200 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-07-09 16:53:45 +0200 |
commit | d3fcc995c27e851a73a433b6ffd967563af080cd (patch) | |
tree | f2e67cc2562a5c7a5081a98c7b2a88756df9ea67 /gcc/fortran/trans-decl.c | |
parent | 5b1c60e9de5246e484e15305795b8f9557ccefcd (diff) | |
download | gcc-d3fcc995c27e851a73a433b6ffd967563af080cd.zip gcc-d3fcc995c27e851a73a433b6ffd967563af080cd.tar.gz gcc-d3fcc995c27e851a73a433b6ffd967563af080cd.tar.bz2 |
re PR fortran/15481 ([meta-bugs] frontend adds superfluous symbols to namespaces)
fortran/
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15481
PR fortran/13372
PR fortran/13575
PR fortran/15978
* module.c (write_symbol, write_symtree): Remove workaround.
* primary.c (match_actual_arglist): Enhance comment.
(gfc_match_rvalue): Handle function call with first argument
a keyword argument correctly.
* resolve.c (resolve_symbol): Change call to
gfc_set_default_type to issue error if no implicit type
can be found.
* trans-decl.c (gfc_create_module_variable): Remove workaround.
testsuite/
PR fortran/15481
PR fortran/13372
PR fortran/13575
PR fortran/15978
* gfortran.fortran-torture/compile/implicit_2.f90: New test.
Also fixed David Billinghursts ChangeLog entry to use GMT
From-SVN: r84373
Diffstat (limited to 'gcc/fortran/trans-decl.c')
-rw-r--r-- | gcc/fortran/trans-decl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 47d9ba5..4cb2a65 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -1798,12 +1798,6 @@ gfc_create_module_variable (gfc_symbol * sym) && (sym->attr.flavor != FL_PARAMETER || sym->attr.dimension == 0)) return; - if (sym->attr.flavor == FL_VARIABLE && sym->ts.type == BT_UNKNOWN) - /* TODO: This is a workaround for the issue outlined in PR 15481, - and it fixes the bug in PR13372. This should never happen in an - ideal frontend. */ - return; - /* Don't generate variables from other modules. */ if (sym->attr.use_assoc) return; |