gcc/gcc/fortran
Janus Weil b3d286bac2 re PR fortran/43256 ([OOP] TBP with missing optional arg)
2010-03-08  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/43256
	* resolve.c (resolve_compcall): Don't set 'value.function.name' here
	for TBPs, otherwise they will not be resolved properly.
	(resolve_function): Use 'value.function.esym' instead of
        'value.function.name' to check if we're dealing with a TBP.
	(check_class_members): Set correct type of passed object for all TBPs,
	not only generic ones, except if the type is abstract.


2010-03-08  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/43256
	* gfortran.dg/typebound_call_13.f03: New.

From-SVN: r157272
2010-03-08 10:35:04 +01:00
..
ChangeLog re PR fortran/43256 ([OOP] TBP with missing optional arg) 2010-03-08 10:35:04 +01:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009 Move 2009 ChangeLog to ChangeLog-2009. 2010-01-01 09:08:32 -08:00
ChangeLog.ptr
Make-lang.in configure.ac: Add install-html to target_list for Make-hooks. 2010-01-04 01:36:36 +00:00
arith.c re PR fortran/40290 (Spurious warning on REAL*COMPLEX with -Wconversion) 2009-12-11 16:08:39 -05:00
arith.h
array.c re PR fortran/42999 (bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression) 2010-02-10 03:31:02 +00:00
bbt.c
check.c re PR fortran/41777 (Wrong-code with POINTER-returning GENERIC function) 2009-10-29 16:24:38 +01:00
config-lang.in
convert.c
cpp.c
cpp.h
data.c trans-common.c (create_common): Remove unused offset variable. 2009-11-28 13:13:21 +01:00
data.h
decl.c re PR fortran/43244 (Invalid statement misinterpreted as FINAL declaration) 2010-03-04 14:42:06 +01:00
dependency.c re PR fortran/43072 (unneeded temporary (s=s+f(a))) 2010-02-22 05:43:57 +00:00
dependency.h
dump-parse-tree.c re PR fortran/25829 ([F03] Asynchronous IO support) 2010-01-08 10:23:26 +01:00
error.c re PR fortran/36161 (gfc_error formats are not marked gcc-internal-format in po file) 2010-01-04 22:01:10 +01:00
expr.c re PR fortran/38324 (Wrong lbound given to allocatable components) 2010-01-31 12:05:22 +00:00
f95-lang.c
gfc-internals.texi gfc-internals.texi, [...]: Fix typos. 2009-12-16 00:54:44 +00:00
gfortran.h re PR fortran/35259 (-fassociative-math not enabled by default; No option to associate with PAREN_EXPRs) 2010-02-21 14:06:07 +01:00
gfortran.texi gfc-internals.texi, [...]: Fix typos. 2009-12-16 00:54:44 +00:00
gfortranspec.c gcc.c (process_command): Update copyright notice dates. 2010-01-09 01:00:42 +01:00
interface.c re PR fortran/42936 (Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg) 2010-02-03 09:26:08 +01:00
intrinsic.c re PR fortran/43040 (Wrong decl for mathbuiltins -> wrong code with LTO) 2010-02-16 09:35:05 +01:00
intrinsic.h backport: re PR fortran/42053 ([OOP] SELECT TYPE: reject duplicate CLASS IS blocks) 2009-11-30 21:43:06 +01:00
intrinsic.texi re PR fortran/41507 (Documentation misleading on MAXLOC/MINLOC array type requirement) 2010-02-09 08:27:47 +01:00
invoke.texi re PR fortran/35259 (-fassociative-math not enabled by default; No option to associate with PAREN_EXPRs) 2010-02-21 14:06:07 +01:00
io.c trans-common.c (create_common): Remove unused offset variable. 2009-11-28 13:13:21 +01:00
ioparm.def
iresolve.c re PR fortran/43040 (Wrong decl for mathbuiltins -> wrong code with LTO) 2010-02-16 09:35:05 +01:00
iso-c-binding.def
iso-fortran-env.def
lang-specs.h
lang.opt re PR fortran/35259 (-fassociative-math not enabled by default; No option to associate with PAREN_EXPRs) 2010-02-21 14:06:07 +01:00
libgfortran.h re PR fortran/42958 (Weird temporary array allocation) 2010-02-20 09:31:25 +01:00
match.c re PR fortran/41940 (Improve error message for allocating scalar with shape) 2009-12-07 12:32:29 -05:00
match.h re PR fortran/25829 ([F03] Asynchronous IO support) 2010-01-08 10:23:26 +01:00
matchexp.c trans-common.c (create_common): Remove unused offset variable. 2009-11-28 13:13:21 +01:00
mathbuiltins.def re PR fortran/43040 (Wrong decl for mathbuiltins -> wrong code with LTO) 2010-02-16 09:35:05 +01:00
misc.c
module.c * module.c (fix_mio_expr): Declare sym. 2010-02-09 19:42:17 +01:00
openmp.c
options.c re PR fortran/35259 (-fassociative-math not enabled by default; No option to associate with PAREN_EXPRs) 2010-02-21 14:06:07 +01:00
parse.c re PR fortran/42650 (F90: DT function with in-line DT definition and RESULT is rejected) 2010-02-02 14:05:50 +01:00
parse.h expr.c (gfc_check_pointer_assign): Do the correct type checking when CLASS variables are involved. 2009-10-07 12:54:35 +02:00
primary.c re PR fortran/42048 ([F03] Erroneous syntax error message on TBP call) 2009-11-26 20:01:02 +01:00
resolve.c re PR fortran/43256 ([OOP] TBP with missing optional arg) 2010-03-08 10:35:04 +01:00
scanner.c
simplify.c re PR other/40302 (GCC must hard-require MPC before release) 2009-12-07 15:32:43 +00:00
st.c
symbol.c re PR fortran/42545 (type extension: parent component has wrong accessibility) 2010-01-19 14:45:07 +01:00
target-memory.c re PR other/40302 (GCC must hard-require MPC before release) 2009-12-07 15:32:43 +00:00
target-memory.h re PR other/40302 (GCC must hard-require MPC before release) 2009-12-07 15:32:43 +00:00
trans-array.c re PR fortran/43243 ([4.4 Regression ?] Wrong-code due to missing array temp for DT with pointer component) 2010-03-03 17:49:53 +00:00
trans-array.h re PR fortran/36932 (unneeded temporary (2x)) 2010-02-20 12:46:43 +00:00
trans-common.c re PR debug/43166 (ICE in simplify_subreg on fortran code) 2010-02-25 11:50:24 +01:00
trans-const.c re PR fortran/41807 (data statement with nested type constructors) 2009-11-26 21:52:52 +00:00
trans-const.h
trans-decl.c re PR fortran/43015 (ICE with BIND(C) and -fbounds-check in mingw-w64 cross-compiler) 2010-02-10 17:43:22 +01:00
trans-expr.c re PR fortran/43205 (-finit-local-zero and -fno-automatic used together with large 2-dim variables take too long to compile) 2010-02-28 17:16:22 +01:00
trans-intrinsic.c re PR fortran/36932 (unneeded temporary (2x)) 2010-02-20 12:46:43 +00:00
trans-io.c re PR fortran/36932 (unneeded temporary (2x)) 2010-02-20 12:46:43 +00:00
trans-openmp.c trans-common.c (create_common): Remove unused offset variable. 2009-11-28 13:13:21 +01:00
trans-stmt.c re PR fortran/32382 (missed optimization in internal read) 2010-02-14 08:28:50 +00:00
trans-stmt.h re PR fortran/32382 (missed optimization in internal read) 2010-02-14 08:28:50 +00:00
trans-types.c backport: re PR fortran/42053 ([OOP] SELECT TYPE: reject duplicate CLASS IS blocks) 2009-11-30 21:43:06 +01:00
trans-types.h
trans.c re PR fortran/42958 (Weird temporary array allocation) 2010-02-20 09:31:25 +01:00
trans.h re PR fortran/42309 (Problem with a pointer array passed to a subroutine) 2010-02-05 05:28:37 +00:00
types.def