Go to file
Daniel Kraft 8c91ab34b5 re PR fortran/38936 ([F03] ASSOCIATE construct / improved SELECT TYPE (a=>expr))
2010-09-23  Daniel Kraft  <d@domob.eu>

	PR fortran/38936
	PR fortran/44044
	PR fortran/45474
	* gfortran.h (gfc_check_vardef_context): New method.
	(struct symbol_attribute): New flag `select_type_temporary'.
	* primary.c (gfc_variable_attr): Clarify initialization of ref.
	(match_variable): Remove PROTECTED check and assignment check
	for PARAMETERs (this is now done later).
	* match.c (gfc_match_iterator): Remove INTENT(IN) check.
	(gfc_match_associate): Defer initialization of newAssoc->variable.
	(gfc_match_nullify): Remove PURE definability check.
	(select_type_set_tmp): Set new `select_type_temporary' flag.
	* expr.c (gfc_check_assign): Remove INTENT(IN) check here.
	(gfc_check_pointer_assign): Ditto (and other checks removed).
	(gfc_check_vardef_context): New method.
	* interface.c (compare_parameter_protected): Removed.
	(compare_actual_formal): Use `gfc_check_vardef_context' for checks
	related to INTENT([IN]OUT) arguments.
	* intrinsic.c (check_arglist): Check INTENT for intrinsics.
	* resolve.c (gfc_resolve_iterator): Use `gfc_check_vardef_context'.
	(remove_last_array_ref): New method.
	(resolve_deallocate_expr), (resolve_allocate_expr): Ditto.
	(resolve_allocate_deallocate): Ditto (for STAT and ERRMSG).
	(resolve_assoc_var): Remove checks for definability here.
	(resolve_select_type): Handle resolving of code->block here.
	(resolve_ordinary_assign): Remove PURE check.
	(resolve_code): Do not resolve code->blocks for SELECT TYPE here.
	Use `gfc_check_vardef_context' for assignments and pointer-assignments.

2010-09-23  Daniel Kraft  <d@domob.eu>

	PR fortran/38936
	PR fortran/44044
	PR fortran/45474
	* gfortran.dg/intrinsic_intent_1.f03: New test.
	* gfortran.dg/select_type_17.f03: New test.
	* gfortran.dg/associate_5.f03: More definability tests.
	* gfortran.dg/enum_2.f90: Check definability.
	* gfortran.dg/allocatable_dummy_2.f90: Change expected error message.
	* gfortran.dg/allocate_alloc_opt_2.f90: Ditto.
	* gfortran.dg/char_expr_2.f90: Ditto.
	* gfortran.dg/deallocate_alloc_opt_2.f90: Ditto.
	* gfortran.dg/enum_5.f90: Ditto.
	* gfortran.dg/equiv_constraint_8.f90: Ditto.
	* gfortran.dg/impure_assignment_2.f90: Ditto.
	* gfortran.dg/impure_assignment_3.f90: Ditto.
	* gfortran.dg/intent_out_1.f90: Ditto.
	* gfortran.dg/intent_out_3.f90: Ditto.
	* gfortran.dg/pointer_assign_7.f90: Ditto.
	* gfortran.dg/pointer_intent_3.f90: Ditto.
	* gfortran.dg/pr19936_1.f90: Ditto.
	* gfortran.dg/proc_ptr_comp_3.f90: Ditto.
	* gfortran.dg/simpleif_2.f90: Ditto.
	* gfortran.dg/protected_5.f90: Ditto.
	* gfortran.dg/protected_4.f90: Ditto and remove invalid error check.
	* gfortran.dg/protected_6.f90: Ditto.
	* gfortran.dg/protected_7.f90: Ditto.

From-SVN: r164550
2010-09-23 10:37:54 +02:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc configure.ac (*-*-solaris2.8*): Only usr alternate thread library on Solaris 8. 2010-06-15 13:51:07 +00:00
config ChangeLog config 2010-09-10 13:39:49 +02:00
contrib Improve formatting of manuals. 2010-09-22 20:22:51 +00:00
fixincludes inclhack.def (hpux_htonl): Allow trailing whitespace in select. 2010-09-07 14:47:21 +00:00
gcc re PR fortran/38936 ([F03] ASSOCIATE construct / improved SELECT TYPE (a=>expr)) 2010-09-23 10:37:54 +02:00
gnattools re PR ada/42659 (gnatmake thinks libraries aren't supported) 2010-01-09 18:21:52 +00:00
include rtl.def (DEBUG_IMPLICIT_PTR): New rtl code. 2010-09-09 08:43:47 +02:00
intl Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libada Makefile.in (GNATLIBCFLAGS_FOR_C): New variable. 2009-10-24 10:58:31 +00:00
libcpp * init.c: Fix type name in comment. 2010-09-15 14:41:31 +00:00
libdecnumber ChangeLog config 2010-09-10 13:39:49 +02:00
libffi closures.c (open_temp_exec_file_mnt): Check if getmntent_r returns NULL. 2010-09-03 10:35:35 +00:00
libgcc Makefile.in (libgcc-extra-parts): Check for static archives and invoke ranlib after installing them. 2010-09-21 14:43:59 +00:00
libgfortran re PR fortran/45710 (Adjust format and padding for WRITE of NAMELIST group to internal file) 2010-09-23 00:53:15 +00:00
libgomp Fix misquoting in stdint.m4. 2010-08-21 12:18:02 +00:00
libiberty cplus-dem.c (ada_demangle): Add comments. 2010-09-22 09:26:03 +00:00
libjava configure.ac: Set LIBMATHSPEC to -lm except on darwin. 2010-09-21 14:01:43 +00:00
libmudflap pass41-frag.cxx (dg-prune-output): New dg directive. 2010-08-20 09:14:00 +02:00
libobjc In libobjc/: 2010-09-18 09:34:58 +00:00
libssp configure.ac (gfortran_use_symver): Only check for Sun-style symbol versioning on Solaris 2. 2010-07-02 16:17:04 +00:00
libstdc++-v3 2010-09-22 Paolo Carlini <paolo.carlini@oracle.com> 2010-09-22 19:46:06 +00:00
lto-plugin lto-plugin.c: Include <hashtab.h> 2010-08-05 14:25:45 +00:00
maintainer-scripts gcc_release (snapshot_print): Also include an sha1 hash for every tarball. 2010-08-23 18:52:06 +00:00
zlib Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
COPYING3
COPYING3.LIB
ChangeLog configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. 2010-09-21 14:32:36 +00:00
ChangeLog.tree-ssa
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2010-09-15 12:06:38 +01:00
Makefile.def Makefile.def (configure-gcc): Depend on all-libelf. 2010-06-10 16:44:04 +00:00
Makefile.in re PR target/44862 (bootstrap with --enable-build-with-cxx and --with-libiconv-prefix fails) 2010-07-17 08:22:09 +00:00
Makefile.tpl re PR target/44862 (bootstrap with --enable-build-with-cxx and --with-libiconv-prefix fails) 2010-07-17 08:22:09 +00:00
README README: Refer to the various COPYING* files instead of just COPYING. 2009-10-10 20:59:49 +00:00
compile Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
config-ml.in config-ml.in: don't handle --enable-shared and --enable-static. 2008-05-14 17:15:51 +00:00
config.guess config.sub: Update to version 2010-05-21. 2010-05-25 13:22:07 +00:00
config.rpath
config.sub config.sub: Update to version 2010-05-21. 2010-05-25 13:22:07 +00:00
configure configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. 2010-09-21 14:32:36 +00:00
configure.ac configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. 2010-09-21 14:32:36 +00:00
depcomp Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
install-sh Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
libtool-ldflags
libtool.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltoptions.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltsugar.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltversion.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
lt~obsolete.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
missing Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
mkdep
mkinstalldirs Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
move-if-change
symlink-tree
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00

README

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.