aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2015-07-17 17:32:09 +0000
committerPaul Thomas <pault@gcc.gnu.org>2015-07-17 17:32:09 +0000
commiteb438073bf0c843d9487b1b788591bf87a3be705 (patch)
tree5dd07973d5a48bea5ea52f3a10dc2fd2ff59c1c5 /gcc
parent4d511a3ba79f031d7092d4bc483fb038996f39c3 (diff)
downloadgcc-eb438073bf0c843d9487b1b788591bf87a3be705.zip
gcc-eb438073bf0c843d9487b1b788591bf87a3be705.tar.gz
gcc-eb438073bf0c843d9487b1b788591bf87a3be705.tar.bz2
re PR fortran/52846 ([F2008] Support submodules)
2015-07-17 Paul Thomas <pault@gcc.gnu.org> PR fortran/52846 * decl.c (gfc_match_end): Pick out declared submodule name from the composite identifier. * gfortran.h : Add 'submodule_name' to gfc_use_list structure. * module.c (gfc_match_submodule): Define submodule_name and add static 'submodule_name'. (gfc_match_submodule): Build up submodule filenames, using '@' as a delimiter. Store the output filename in 'submodule_name'. Similarly, the submodule identifier is built using '.' as an identifier. (gfc_dump_module): If current state is COMP_SUBMODULE, write to file 'submodule_name', using SUBMODULE_EXTENSION. (gfc_use_module): Similarly, use the 'submodule_name' field in the gfc_use_list structure and SUBMODULE_EXTENSION to read the implicitly used submodule files. 2015-07-17 Paul Thomas <pault@gcc.gnu.org> PR fortran/52846 * lib/fortran-modules.exp (proc cleanup-submodules): New procedure. * gfortran.dg/submodule_1.f08: Change extension and clean up the submodule files. * gfortran.dg/submodule_2.f08: ditto * gfortran.dg/submodule_6.f08: ditto * gfortran.dg/submodule_7.f08: ditto * gfortran.dg/submodule_8.f08: New test * gfortran.dg/submodule_9.f08: New test From-SVN: r225958
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 29d3a12..05e6141 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,16 @@
+2015-07-17 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/52846
+ * lib/fortran-modules.exp (proc cleanup-submodules): New
+ procedure.
+ * gfortran.dg/submodule_1.f08: Change extension and clean up
+ the submodule files.
+ * gfortran.dg/submodule_2.f08: ditto
+ * gfortran.dg/submodule_6.f08: ditto
+ * gfortran.dg/submodule_7.f08: ditto
+ * gfortran.dg/submodule_8.f08: New test
+ * gfortran.dg/submodule_9.f08: New test
+
2015-07-17 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>