aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorTobias Schlüter <tobi@gcc.gnu.org>2004-07-09 16:53:45 +0200
committerTobias Schlüter <tobi@gcc.gnu.org>2004-07-09 16:53:45 +0200
commitd3fcc995c27e851a73a433b6ffd967563af080cd (patch)
treef2e67cc2562a5c7a5081a98c7b2a88756df9ea67 /gcc/testsuite
parent5b1c60e9de5246e484e15305795b8f9557ccefcd (diff)
downloadgcc-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/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog10
-rw-r--r--gcc/testsuite/gfortran.fortran-torture/compile/implicit_2.f906
2 files changed, 15 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 035b99c..dd99748 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,4 +1,12 @@
-2004-07-10 David Billinghurst (David.Billinghurst@riotinto.com)
+2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/15481
+ PR fortran/13372
+ PR fortran/13575
+ PR fortran/15978
+ * gfortran.fortran-torture/compile/implicit_2.f90: New test.
+
+2004-07-09 David Billinghurst (David.Billinghurst@riotinto.com)
* lib/gfortran-dg.exp (gfortran-dg-test): Adapt regular
expression to match gfortran warning/error messages
diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/implicit_2.f90 b/gcc/testsuite/gfortran.fortran-torture/compile/implicit_2.f90
new file mode 100644
index 0000000..c5b8456
--- /dev/null
+++ b/gcc/testsuite/gfortran.fortran-torture/compile/implicit_2.f90
@@ -0,0 +1,6 @@
+! PR 13372 -- we incorrectly added a symbol for p, which broke implicit typing
+module t
+implicit none
+integer, parameter :: F = selected_real_kind(P = 6, R = 37)
+end module t
+