GCC modified for the FreeChainXenon project
Find a file
Janus Weil 90661f261c re PR fortran/39630 ([F03] Procedure Pointer Components)
2009-07-25  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/39630
	* decl.c (match_ppc_decl): Implement the PASS attribute for procedure
	pointer components.
	(match_binding_attributes): Ditto.
	* gfortran.h (gfc_component): Add member 'tb'.
	(gfc_typebound_proc): Add member 'ppc' and make 'pass_arg' const.
	* module.c (MOD_VERSION): Bump module version.
	(binding_ppc): New string constants.
	(mio_component): Only use formal args if component is a procedure
	pointer and add 'tb' member.
	(mio_typebound_proc): Include pass_arg and take care of procedure
	pointer components.
	* resolve.c (update_arglist_pass): Add argument 'name' and take care of
	optional arguments.
	(extract_ppc_passed_object): New function, analogous to
	extract_compcall_passed_object, but for procedure pointer components.
	(update_ppc_arglist): New function, analogous to
	update_compcall_arglist, but for procedure pointer components.
	(resolve_typebound_generic_call): Added argument to update_arglist_pass.
	(resolve_ppc_call, resolve_expr_ppc): Take care of PASS attribute.
	(resolve_fl_derived): Check the PASS argument for procedure pointer
	components.
	* symbol.c (verify_bind_c_derived_type): Reject procedure pointer
	components in BIND(C) types.

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

	PR fortran/39630
	* gfortran.dg/proc_ptr_comp_3.f90: Modified.
	* gfortran.dg/proc_ptr_comp_pass_1.f90: New.
	* gfortran.dg/proc_ptr_comp_pass_2.f90: New.
	* gfortran.dg/proc_ptr_comp_pass_3.f90: New.
	* gfortran.dg/proc_ptr_comp_pass_4.f90: New.
	* gfortran.dg/proc_ptr_comp_pass_5.f90: New.
	* gfortran.dg/typebound_call_10.f03: New.

From-SVN: r150078
2009-07-25 13:56:35 +02:00
boehm-gc Commit patch #3 of 4 for Power7 VSX support 2009-07-23 16:05:37 +00:00
config re PR other/40784 (Revision 149725 caused autoconf warning in libstdc++) 2009-07-17 16:08:36 +01:00
contrib * compare-debug: Don't fail just because of .eh_frame differences. 2009-06-02 08:11:31 +00:00
fixincludes inclhack.def (darwin_stdint_5, [...]): New fixes. 2009-07-04 21:31:17 +00:00
gcc re PR fortran/39630 ([F03] Procedure Pointer Components) 2009-07-25 13:56:35 +02:00
gnattools re PR ada/40166 (Ada compiler unable to build libraries) 2009-05-18 07:40:56 +00:00
include re PR bootstrap/40854 (Conflicting crc32 functions in libiberty and zlib) 2009-07-25 06:28:16 +00:00
INSTALL
intl
libada configure.ac: Include multi.m4 and do not call AC_CANONICAL_SYSTEM. 2009-07-13 20:04:33 +00:00
libcpp be.po, [...]: Update. 2009-07-23 20:23:27 +01:00
libdecnumber decContext.h: Add extern "C" if compiling with C++. 2009-06-01 05:28:42 +00:00
libffi re PR libffi/40807 (libffi.call/return_sc.c) 2009-07-24 10:12:16 +00:00
libgcc MAINTAINERS: Add myself as mep maintainer. 2009-06-24 00:16:25 -04:00
libgfortran re PR fortran/40643 (maxloc/minloc: Wrong result for NaN at position 1) 2009-07-24 09:57:13 +02:00
libgomp tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when cross-compiling. 2009-07-17 00:18:08 +01:00
libiberty re PR bootstrap/40854 (Conflicting crc32 functions in libiberty and zlib) 2009-07-25 06:28:16 +00:00
libjava natVMSecureRandomWin32.cc: New Win32 specific implementation. 2009-07-24 13:27:37 +02:00
libmudflap tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when cross-compiling. 2009-07-17 00:18:08 +01:00
libobjc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libssp re PR other/39062 (libssp/ssp.c needs malloc.h for mingw) 2009-04-13 12:37:17 +02:00
libstdc++-v3 Core issue 901 2009-07-24 23:57:20 -04:00
maintainer-scripts * update_web_docs_svn: Redirect output of texi2dvi to /dev/null. 2009-04-23 13:30:49 +00:00
zlib backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ABOUT-NLS
ChangeLog configure.ac: Add missing comma in AC_ARG_WITH(boot-libs). 2009-07-06 18:06:55 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess * config.sub, config.guess: Update from upstream sources. 2009-06-03 09:00:35 +10:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2009-06-03 09:00:35 +10:00
configure configure.ac: Add missing comma in AC_ARG_WITH(boot-libs). 2009-07-06 18:06:55 +00:00
configure.ac configure.ac: Add missing comma in AC_ARG_WITH(boot-libs). 2009-07-06 18:06:55 +00:00
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
depcomp
install-sh
libtool-ldflags
libtool.m4 backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +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
lt~obsolete.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
MAINTAINERS MAINTAINERS: Move myself to the Graphite Reviewers. 2009-07-01 12:13:57 +00:00
Makefile.def Makefile.def (host_modules): Add cgen. 2009-06-26 17:11:35 +00:00
Makefile.in re PR bootstrap/40338 (bootstrap comparision fails on 32 bit PA when comparing libgcc objects) 2009-06-26 17:28:40 +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
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 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.