Go to file
Paul Thomas 68ea355b5d PR25024, PR20881, PR23308, PR25538 and PR25710 - Procedure references
2005-01-21  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25124
	PR fortran/25625
	* decl.c (get_proc_name): If there is an existing
	symbol in the encompassing namespace, call errors
	if it is a procedure of the same name or the kind
	field is set, indicating a type declaration.

	PR fortran/20881
	PR fortran/23308
	PR fortran/25538
	PR fortran/25710
	* decl.c (add_global_entry): New function to check
	for existing global symbol with this name and to
	create new one if none exists.
	(gfc_match_entry): Call add_global_entry before
	matching argument lists for subroutine and function
	entries.
	* gfortran.h: Prototype for existing function,
	global_used.
	* resolve.c (resolve_global_procedure): New function
	to check global symbols for procedures.
	(resolve_call, resolve_function): Calls to this
	new function for non-contained and non-module
	procedures.
	* match.c (match_common): Add check for existing
	global symbol, creat one if none exists and emit
	error if there is a clash.
	* parse.c (global_used): Remove static and use the
	gsymbol name rather than the new_block name, so that
	the function can be called from resolve.c.
	(parse_block_data, parse_module, add_global_procedure):
	Improve checks for existing gsymbols.  Emit error if
	already defined or if references were to another type.
	Set defined flag.

	PR fortran/PR24276
	* trans-expr.c (gfc_conv_aliased_arg): New function called by 
	gfc_conv_function_call that coverts an expression for an aliased
	component reference to a derived type array into a temporary array
	of the same type as the component.  The temporary is passed as an
	actual argument for the procedure call and is copied back to the
	derived type after the call.
	(is_aliased_array): New function that detects an array reference
	that is followed by a component reference.
	(gfc_conv_function_call): Detect an aliased actual argument with
	is_aliased_array and convert it to a temporary and back again
	using gfc_conv_aliased_arg.

2005-01-21  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25124
	PR fortran/25625
	* gfortran.dg/internal_references_1.f90: New test.
	  PR fortran/20881
	PR fortran/23308
	PR fortran/25538
	PR fortran/25710
	* gfortran.dg/global_references_1.f90: New test.
	* gfortran.dg/g77/19990905-1.f: Restore the error that
	there is a clash between the common block name and
	the name of a subroutine reference.

	PR fortran/PR24276
	* gfortran.dg/aliasing_dummy_1.f90: New test.

From-SVN: r110063
2006-01-21 09:08:54 +00:00
INSTALL
boehm-gc gc_priv.h: Increase MAX_ROOT_SETS to 1024. 2005-11-02 00:06:30 +00:00
config re PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h)) 2006-01-02 18:53:27 +00:00
contrib btest-gcc.sh: gcc.sum has moved to gcc/testsuite/gcc/gcc.sum. 2006-01-18 17:09:56 -08:00
fastjar compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
fixincludes re PR target/15642 (NAN Is Not a Constant Because __APPLE_CC__ is Not Defined (OK in Apple 3.3.0)) 2006-01-19 09:18:29 -08:00
gcc PR25024, PR20881, PR23308, PR25538 and PR25710 - Procedure references 2006-01-21 09:08:54 +00:00
gnattools re PR ada/19959 (Can't compile gnattools for the cross targets) 2005-03-30 10:56:55 +02:00
include * md5.h: Include ansidecl.h 2006-01-18 15:21:59 -05:00
intl .cvsignore are not needed for subversion, remove them. 2005-10-31 18:20:58 +01:00
libada Makefile.in (FLAGS_TO_PASS): Add GCC_FOR_TARGET. 2005-12-05 14:40:27 +00:00
libcpp Makefile.in: Use -MMD instead of -MD. 2006-01-05 08:35:23 +00:00
libdecnumber decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro definition of strcpy from generating compilation... 2006-01-04 21:22:34 +00:00
libffi sysv.S (smst_two_register): Don't call __ashldi3, instead do the shifting inline. 2006-01-18 09:04:52 +01:00
libgfortran re PR libfortran/25697 (libfortran - Segmentation fault/ Bad Address on unformatted read) 2006-01-18 06:21:28 +00:00
libgomp re PR libgomp/25877 (team.c:269: warning: implicit declaration of function 'alloca') 2006-01-20 18:17:28 +00:00
libiberty Makefile.in: Add test-expandargv test. 2006-01-20 22:55:36 +00:00
libjava jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it already exists. 2006-01-19 00:57:00 +00:00
libmudflap libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if static library not supported. 2005-11-22 20:35:51 +00:00
libobjc re PR objc/25360 (Complex types are not encoded) 2005-12-16 12:19:37 -08:00
libssp configure.ac: Use -fPIC for symbol versioning test. 2006-01-20 21:33:25 +00:00
libstdc++-v3 acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Verbose ld version reporting. 2006-01-20 22:24:43 +00:00
maintainer-scripts * update_version_svn (ADD_BRANCHES): Remove dfp-branch. 2006-01-12 14:36:42 +11:00
zlib .cvsignore are not needed for subversion, remove them. 2005-10-31 18:20:58 +01:00
ABOUT-NLS
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
ChangeLog configure: Regenerate. 2006-01-20 08:47:14 -05:00
ChangeLog.tree-ssa
MAINTAINERS add myself to the MAINTAINERS file 2006-01-16 19:25:25 +00:00
Makefile.def [multiple changes] 2006-01-18 14:21:25 -05:00
Makefile.in [multiple changes] 2006-01-18 14:21:25 -05:00
Makefile.tpl Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove @ from continuation. 2006-01-05 17:42:53 +00:00
README
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
compile COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
config-ml.in COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
config.guess Sync config.{sub,guess} from upstream sources 2005-11-22 20:41:02 +00:00
config.rpath all files: Update FSF address. 2005-07-16 02:30:53 +00:00
config.sub config.gcc (ms1): Replace with ... 2005-12-12 10:54:49 +00:00
configure configure: Regenerate. 2006-01-20 08:47:14 -05:00
configure.in [multiple changes] 2006-01-18 14:21:25 -05:00
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
libtool-ldflags libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
libtool.m4 all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-c.sh ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience' to match upstream libtool for darwin. 2005-11-18 23:53:08 +01:00
ltcf-cxx.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-gcj.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltconfig all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltmain.sh Fix misapplied hunk. 2005-10-05 09:19:53 +00:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep
mkinstalldirs COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file 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.html for how to report bugs usefully.