aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/primary.c
diff options
context:
space:
mode:
authorDaniel Kraft <d@domob.eu>2008-09-01 12:55:50 +0200
committerDaniel Kraft <domob@gcc.gnu.org>2008-09-01 12:55:50 +0200
commita64a8f2f267e1151d2c873aa3e02c7abe4fd4990 (patch)
tree66c5e272b10868f7048d89734fa754d3d8f51f9d /gcc/fortran/primary.c
parentf69bbb461b3a00afe8156ae949fb7014332bb3a1 (diff)
downloadgcc-a64a8f2f267e1151d2c873aa3e02c7abe4fd4990.zip
gcc-a64a8f2f267e1151d2c873aa3e02c7abe4fd4990.tar.gz
gcc-a64a8f2f267e1151d2c873aa3e02c7abe4fd4990.tar.bz2
gfc-internals.texi (F2003 OOP), [...]): New chapter and section to document the internals of type-bound procedures.
2008-09-01 Daniel Kraft <d@domob.eu> * gfc-internals.texi (F2003 OOP), (Type-bound Procedures): New chapter and section to document the internals of type-bound procedures. (gfc_expr): Document EXPR_COMPCALL. * gfortran.h (struct gfc_expr): Remove unused `derived' from compcall. * dump-parse-tree.c (show_compcall): New method. (show_expr): Call it for EXPR_COMPCALL. (show_typebound), (show_f2k_derived): New methods. (show_symbol): Call show_f2k_derived. (show_code_node): Handle EXEC_COMPCALL. * primary.c (gfc_match_varspec): Don't initialize removed `derived' in primary->value.compcall. From-SVN: r139857
Diffstat (limited to 'gcc/fortran/primary.c')
-rw-r--r--gcc/fortran/primary.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c
index 3a72dda..c187749 100644
--- a/gcc/fortran/primary.c
+++ b/gcc/fortran/primary.c
@@ -1779,7 +1779,6 @@ gfc_match_varspec (gfc_expr *primary, int equiv_flag, bool sub_flag)
primary->expr_type = EXPR_COMPCALL;
primary->value.compcall.tbp = tbp->typebound;
- primary->value.compcall.derived = sym;
primary->value.compcall.name = tbp->name;
gcc_assert (primary->symtree->n.sym->attr.referenced);
if (tbp_sym)