gcc/gcc/fortran
Paul Thomas 1a492601a1 re PR fortran/24558 (ENTRY doesn't work in module procedures)
2006-06-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/24558
	PR fortran/20877
	PR fortran/25047
	* decl.c (get_proc_name): Add new argument to flag that a
	module function entry is being treated. If true, correct
	error condition, add symtree to module namespace and add
	a module procedure.
	(gfc_match_function_decl, gfc_match_entry,
	gfc_match_subroutine): Use the new argument in calls to
	get_proc_name.
	* resolve.c (resolve_entries): ENTRY symbol reference to
	to master entry namespace if a module function.
	* trans-decl.c (gfc_create_module_variable): Return if
	the symbol is an entry.
	* trans-exp.c (gfc_conv_variable): Check that parent_decl
	is not NULL.

2006-06-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/24558
	* gfortran.dg/entry_6.f90: New test.

	PR fortran/20877
	PR fortran/25047
	* gfortran.dg/entry_7.f90: New test.

From-SVN: r114526
2006-06-09 22:16:08 +00:00
..
arith.c re PR fortran/27715 (Extented ASCII characters lead to wrong "CASE" selection) 2006-06-01 19:23:56 +00:00
arith.h
array.c
bbt.c
ChangeLog re PR fortran/24558 (ENTRY doesn't work in module procedures) 2006-06-09 22:16:08 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
check.c re PR fortran/14067 (no warning when character data statement overflows declared size) 2006-06-05 07:45:03 +00:00
config-lang.in
convert.c
data.c data.c (gfc_assign_data_value): Fix comment typo. 2006-06-05 19:50:05 +00:00
decl.c re PR fortran/24558 (ENTRY doesn't work in module procedures) 2006-06-09 22:16:08 +00:00
dependency.c
dependency.h
dump-parse-tree.c
error.c
expr.c re PR fortran/23091 (ICE in gfc_trans_auto_array_allocation) 2006-06-07 07:20:39 +00:00
f95-lang.c re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
gfortran.h re PR fortran/23091 (ICE in gfc_trans_auto_array_allocation) 2006-06-07 07:20:39 +00:00
gfortran.texi symbol.c (check_conflict): Allow external, function, and subroutine attributes with Cray pointees. 2006-05-30 23:27:38 +00:00
gfortranspec.c
interface.c re PR fortran/25098 (Variable as actual argument for procedure dummy argument allowed) 2006-06-01 04:35:38 +00:00
intrinsic.c intrinsic.c (add_subroutine): Make make_noreturn() conditional on the appropriate symbol name. 2006-06-08 17:51:47 +00:00
intrinsic.h
intrinsic.texi
invoke.texi * invoke.texi: Change -fpackderived into -fpack-derived. 2006-05-29 06:44:54 +00:00
io.c re PR fortran/27634 (formatted reading/writing: real format without dot) 2006-05-29 19:33:43 +00:00
ioparm.def
iresolve.c
lang-specs.h
lang.opt
Make-lang.in Makefile.in: Rename to htmldir to build_htmldir to avoid installing during build. 2006-06-06 10:15:12 +00:00
match.c re PR fortran/27897 (ICE on common block with the same name as the program.) 2006-06-06 04:15:17 +00:00
match.h
matchexp.c
mathbuiltins.def
misc.c
module.c
openmp.c
options.c options.c, [...]: Fix typos in error messages. 2006-05-29 05:19:37 +00:00
parse.c re PR fortran/14067 (no warning when character data statement overflows declared size) 2006-06-05 07:45:03 +00:00
parse.h
primary.c options.c, [...]: Fix typos in error messages. 2006-05-29 05:19:37 +00:00
resolve.c re PR fortran/24558 (ENTRY doesn't work in module procedures) 2006-06-09 22:16:08 +00:00
scanner.c data.c (gfc_assign_data_value): Handle USE_MAPPED_LOCATION. 2006-06-01 09:18:34 -07:00
simplify.c
st.c
symbol.c re PR fortran/14067 (no warning when character data statement overflows declared size) 2006-06-05 07:45:03 +00:00
trans-array.c re PR fortran/27786 ([4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking) 2006-06-08 21:00:26 +00:00
trans-array.h trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-common.c options.c, [...]: Fix typos in error messages. 2006-05-29 05:19:37 +00:00
trans-const.c trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-const.h trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-decl.c re PR fortran/24558 (ENTRY doesn't work in module procedures) 2006-06-09 22:16:08 +00:00
trans-expr.c re PR fortran/24558 (ENTRY doesn't work in module procedures) 2006-06-09 22:16:08 +00:00
trans-intrinsic.c trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-io.c trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-openmp.c re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
trans-stmt.c trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-stmt.h
trans-types.c check.c, [...]: Fix comment typos. 2006-05-28 17:56:58 +00:00
trans-types.h
trans.c trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans.h re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
types.def