Go to file
Daniel Kraft e6c148988c re PR fortran/45197 ([F2008] Allow IMPURE elemental procedures)
2010-08-15  Daniel Kraft  <d@domob.eu>

	PR fortran/45197
	* decl.c (gfc_match_prefix): Match IMPURE prefix and mark ELEMENTAL
	routines not IMPURE also as PURE.
	* intrinsic.c (enum klass): New class `CLASS_PURE' and renamed
	`NO_CLASS' in `CLASS_IMPURE'.
	(add_sym): Set symbol-attributes `pure' and `elemental' correctly.
	(add_sym_0s): Renamed `NO_CLASS' in `CLASS_IMPURE'.
	(add_functions): Ditto.
	(add_subroutines): Ditto and mark `MOVE_ALLOC' as CLASS_PURE.
	* resolve.c (gfc_pure): Do not treat ELEMENTAL as automatically PURE.
	(resolve_formal_arglist): Check that arguments to ELEMENTAL procedures
	are not ALLOCATABLE and have their INTENT specified.

2010-08-15  Daniel Kraft  <d@domob.eu>

	PR fortran/45197
	* gfortran.dg/elemental_args_check_3.f90: New test.
	* gfortran.dg/impure_1.f08: New test.
	* gfortran.dg/impure_2.f08: New test.
	* gfortran.dg/impure_3.f90: New test.
	* gfortran.dg/typebound_proc_6.f03: Changed expected error message.

From-SVN: r163261
2010-08-15 17:28:10 +02:00
boehm-gc
config
contrib
fixincludes
gcc re PR fortran/45197 ([F2008] Allow IMPURE elemental procedures) 2010-08-15 17:28:10 +02:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber
libffi
libgcc
libgfortran re PR fortran/44931 (For INPUT_UNIT, INQUIRE NAME= should not return "stdin") 2010-08-14 18:59:18 +00:00
libgomp
libiberty argv.c (expandargv): Limit the number of times that response files are opened in order to prevent... 2010-08-13 11:36:38 +00:00
libjava * gnu/java/security/jce/prng/natVMSecureRandomWin32.cc 2010-08-12 18:23:32 +00:00
libmudflap
libobjc
libssp
libstdc++-v3 re PR libstdc++/45283 (performance/30_threads/future/polling.cc fails at compile time) 2010-08-14 21:00:55 +01:00
lto-plugin
maintainer-scripts Fix up ChangeLog entry for the last commit. 2010-08-14 23:02:37 +00:00
zlib
ABOUT-NLS
ChangeLog
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
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
Makefile.in
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.