gcc/gcc/fortran
Paul Thomas 8de10a622a re PR fortran/32464 (ICE: USE in contained subroutine)
2007-06-25  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/32464
	* resolve.c (check_host_association): Return if the old symbol
	is use associated.  Introduce retval to reduce the number of
	evaluations of the first-order return value.

	PR fortran/31494
	* match.c (gfc_match_call): If a host associated symbol is not
	a subroutine, build a new symtree/symbol in the current name
	space.


2007-06-25  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/32464
	* gfortran.dg/host_assoc_function_2.f90: New test.

	PR fortran/31494
	* gfortran.dg/host_assoc_call_1.f90: New test.

From-SVN: r126000
2007-06-25 18:27:59 +00:00
..
ChangeLog re PR fortran/32464 (ICE: USE in contained subroutine) 2007-06-25 18:27:59 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog.ptr [multiple changes] 2007-06-15 22:42:36 -07:00
Make-lang.in re PR fortran/30820 (-Wno-error not necessary in Make-lang.in any more?) 2007-05-19 20:33:45 +00:00
arith.c gfortran.h (gfc_expr): Remove from_H, add "representation" struct. 2007-05-28 11:20:29 -07:00
arith.h
array.c re PR fortran/31716 (segfault with real array bounds) 2007-05-24 05:03:51 +00:00
bbt.c
check.c gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIZEOF. 2007-05-29 11:03:03 +02:00
config-lang.in
convert.c
data.c re PR fortran/20863 ([4.2 only] Pointer problems in PURE procedures) 2007-06-18 23:04:28 +00:00
decl.c re PR fortran/25061 (procedure name conflict) 2007-06-21 01:18:02 +00:00
dependency.c gfortran.h: Renamed 'enum gfc_generic_isym_id' to 'enum gfc_isym_id'... 2007-05-29 17:10:48 -04:00
dependency.h
dump-parse-tree.c re PR fortran/32460 (structure constructor not allowed if a USEd type has private components) 2007-06-24 18:19:11 +02:00
error.c re PR fortran/31668 (%VAL rejected for PROC_MODULE and PROC_INTERNAL procedures) 2007-04-25 10:32:21 +02:00
expr.c re PR fortran/32360 (GFORTRAN WON'T COMPILE 'DATA PTR1 /NULL ()/' WHEN PTR1 HAS POINTER ATTRIBUTE) 2007-06-22 16:21:23 +00:00
f95-lang.c really remove signed(_or_unsigned)?_type langhooks 2007-06-11 15:40:55 +00:00
gfc-internals.texi
gfortran.h re PR fortran/32460 (structure constructor not allowed if a USEd type has private components) 2007-06-24 18:19:11 +02:00
gfortran.texi gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n environment variables. 2007-06-17 09:18:38 +03:00
gfortranspec.c
interface.c re PR fortran/32460 (structure constructor not allowed if a USEd type has private components) 2007-06-24 18:19:11 +02:00
intrinsic.c trans-expr.c (gfc_conv_expr_op): Use zero constant that matches the lse type. 2007-05-31 21:14:52 +00:00
intrinsic.h gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIZEOF. 2007-05-29 11:03:03 +02:00
intrinsic.texi gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIZEOF. 2007-05-29 11:03:03 +02:00
invoke.texi gfortran.texi: Cleaned up keyword index. 2007-04-29 06:49:08 -04:00
io.c re PR fortran/31162 (missing warning for real do-loops with implicit typed variables) 2007-06-22 01:50:09 +00:00
ioparm.def
iresolve.c re PR target/22539 (Internal compiler error with maximum sized array) 2007-05-04 14:02:18 -04:00
iso-fortran-env.def
lang-specs.h
lang.opt
match.c re PR fortran/32464 (ICE: USE in contained subroutine) 2007-06-25 18:27:59 +00:00
match.h re PR fortran/32223 (Backslash handling inconsistent) 2007-06-08 04:49:23 +00:00
matchexp.c
mathbuiltins.def
misc.c
module.c re PR fortran/32460 (structure constructor not allowed if a USEd type has private components) 2007-06-24 18:19:11 +02:00
openmp.c gfortran.h: Renamed 'enum gfc_generic_isym_id' to 'enum gfc_isym_id'... 2007-05-29 17:10:48 -04:00
options.c options.c (gfc_handle_option): Ensure requested free form line length is not too small. 2007-04-28 15:17:07 +02:00
parse.c decl.c: Miscellaneous whitespace fixes. 2007-06-07 11:10:31 -07:00
parse.h
primary.c re PR fortran/32460 (structure constructor not allowed if a USEd type has private components) 2007-06-24 18:19:11 +02:00
resolve.c re PR fortran/32464 (ICE: USE in contained subroutine) 2007-06-25 18:27:59 +00:00
scanner.c re PR fortran/31645 (Error on reading Byte Order Mark) 2007-04-29 10:45:57 +00:00
simplify.c [multiple changes] 2007-05-16 05:40:51 +00:00
st.c
symbol.c re PR fortran/32460 (structure constructor not allowed if a USEd type has private components) 2007-06-24 18:19:11 +02:00
target-memory.c re PR fortran/29786 (Initialization of overlapping variables: Not implemented) 2007-06-11 22:39:21 +00:00
target-memory.h re PR fortran/29786 (Initialization of overlapping variables: Not implemented) 2007-06-11 22:39:21 +00:00
trans-array.c decl.c: Miscellaneous whitespace fixes. 2007-06-07 11:10:31 -07:00
trans-array.h
trans-common.c re PR fortran/32302 (Incorrect result with -O2) 2007-06-14 13:04:05 +00:00
trans-const.c gfortran.h (gfc_expr): Remove from_H, add "representation" struct. 2007-05-28 11:20:29 -07:00
trans-const.h trans-const.c (gfc_conv_mpz_to_tree): Use mpz_get_double_int. 2007-04-30 12:17:59 -07:00
trans-decl.c decl.c: Miscellaneous whitespace fixes. 2007-06-07 11:10:31 -07:00
trans-expr.c [multiple changes] 2007-06-15 22:42:36 -07:00
trans-intrinsic.c re PR fortran/32298 (MINLOC / MAXLOC: off-by one for PARAMETER arrays) 2007-06-24 11:04:02 +00:00
trans-io.c decl.c: Miscellaneous whitespace fixes. 2007-06-07 11:10:31 -07:00
trans-openmp.c gfortran.h: Renamed 'enum gfc_generic_isym_id' to 'enum gfc_isym_id'... 2007-05-29 17:10:48 -04:00
trans-stmt.c trans-stmt.c (gfc_trans_call): fix gcc_assert to a comparison, not an assignment. 2007-06-12 14:28:34 +00:00
trans-stmt.h
trans-types.c really remove signed(_or_unsigned)?_type langhooks 2007-06-11 15:40:55 +00:00
trans-types.h really remove signed(_or_unsigned)?_type langhooks 2007-06-11 15:40:55 +00:00
trans.c re PR fortran/32140 (Miscompilation with -O1) 2007-06-20 14:57:10 +00:00
trans.h re PR fortran/31219 (ICE on array of character function results) 2007-05-26 11:25:36 +00:00
types.def