Go to file
Janus Weil 23878536a6 re PR fortran/41139 (a procedure pointer call as actual argument)
2009-08-25  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41139
	* primary.c (gfc_match_varspec): Make sure EXPR_PPC is only used for
	calls to procedure pointer components, other references to procedure
	pointer components are EXPR_VARIABLE.
	* resolve.c (resolve_actual_arglist): Bugfix (there can be calls without
	actual arglist).
	* trans-expr.c (gfc_get_proc_ptr_comp): Renamed to 'get_proc_ptr_comp',
	removed argument 'se' and made static. Avoid inserting a temporary
	variable for calling the PPC.
	(conv_function_val): Renamed gfc_get_proc_ptr_comp.
	(gfc_conv_procedure_call): Distinguish functions returning a procedure
	pointer from calls to a procedure pointer. Distinguish calls to
	procedure pointer components from procedure pointer components as
	actual arguments.
	* trans-stmt.h (gfc_get_proc_ptr_comp): Make it static.


2009-08-25  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41139
	* gfortran.dg/proc_ptr_25.f90: New.
	* gfortran.dg/proc_ptr_comp_18.f90: New.
	* gfortran.dg/proc_ptr_comp_19.f90: New.

From-SVN: r151081
2009-08-25 16:26:44 +02:00
boehm-gc Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
config Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 13:22:20 +00:00
contrib * compare-debug: Drop .eh_frame relocations too. 2009-08-18 19:44:04 +00:00
fixincludes Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
gcc re PR fortran/41139 (a procedure pointer call as actual argument) 2009-08-25 16:26:44 +02:00
gnattools Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
include re PR bootstrap/40854 (Conflicting crc32 functions in libiberty and zlib) 2009-07-25 06:28:16 +00:00
INSTALL
intl Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libada Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libcpp Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libdecnumber Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libffi Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libgcc Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libgfortran re PR libfortran/41157 (dtime not consistent in times reported) 2009-08-25 01:47:23 +00:00
libgomp Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libiberty Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libjava Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libmudflap Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libobjc Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libssp Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
libstdc++-v3 Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
maintainer-scripts * update_web_docs_svn: Redirect output of texi2dvi to /dev/null. 2009-04-23 13:30:49 +00:00
zlib Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
ABOUT-NLS
ChangeLog Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
ChangeLog.tree-ssa
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, config.guess: Update from upstream sources. 2009-08-17 14:09:01 +10:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 14:55:20 -04:00
config.sub * config.sub, config.guess: Update from upstream sources. 2009-08-17 14:09:01 +10:00
configure Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 13:41:50 +00:00
configure.ac Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02: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 re PR bootstrap/31906 ("-Xcompiler" is inserted after "-Xlinker" when building libstdc++) 2007-09-20 10:20:05 +00:00
libtool.m4 backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
lt~obsolete.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag. 2009-08-20 11:11:34 +00:00
ltoptions.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltsugar.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltversion.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
MAINTAINERS * MAINTAINERS: Add my name to Write After Approval list. 2009-08-06 20:27:41 +00:00
Makefile.def Fix toplevel target defs. 2009-08-19 21:57:58 +00:00
Makefile.in Fix toplevel target defs. 2009-08-19 21:57:58 +00:00
Makefile.tpl re PR bootstrap/40338 (bootstrap comparision fails on 32 bit PA when comparing libgcc objects) 2009-06-26 17:28:40 +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
README
symlink-tree
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00

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.