Go to file
Paul Thomas eb438073bf 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
2015-07-17 17:32:09 +00:00
boehm-gc
config This patch syncs zlib.m4 with binutils-gdb and uses AM_ZLIB from zlib.m4 2015-07-14 07:25:35 -07:00
contrib check_GNU_style.sh: Fix quoting in cat_with_prefix 2015-07-15 15:41:21 +00:00
fixincludes
gcc re PR fortran/52846 ([F2008] Support submodules) 2015-07-17 17:32:09 +00:00
gnattools
gotools
include Remove trailing spaces in demangle.h 2015-07-14 09:14:40 -07:00
INSTALL
intl
libada
libatomic configure.tgt: Add *-*-dragonfly to supported targets. 2015-07-14 16:36:51 +01:00
libbacktrace
libcc1
libcilkrts
libcpp
libdecnumber
libffi
libgcc mkoffload.c (process): Constify host data. 2015-07-17 17:12:01 +00:00
libgfortran PR 66861 Fix null pointer crash on mingw. 2015-07-14 23:26:06 +03:00
libgo compiler,runtime: Determine if allocations need new pointers in runtime. 2015-07-14 01:22:25 +00:00
libgomp target.c (GOMP_offload_register): Use int for device type arg. 2015-07-17 17:17:26 +00:00
libiberty
libitm
libjava
libmpx linux-common.h (LINK_MPX): New. 2015-07-16 08:36:02 +00:00
libobjc
liboffloadmic mkoffload.c (process): Constify target data. 2015-07-17 14:07:53 +00:00
libquadmath
libsanitizer
libssp
libstdc++-v3 status_cxx2011.xml: Add caveats for native_handle. 2015-07-17 17:08:14 +01:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
ChangeLog Sync toplevel configure with binutils-gdb 2015-07-14 08:32:05 -07:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Sync toplevel configure with binutils-gdb 2015-07-14 08:32:05 -07:00
configure.ac Sync toplevel configure with binutils-gdb 2015-07-14 08:32:05 -07:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def Sync toplevel files binutils-gdb 2015-07-14 08:03:11 -07:00
Makefile.in Sync toplevel files binutils-gdb 2015-07-14 08:03:11 -07:00
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.