summaryrefslogtreecommitdiff
path: root/gcc/fortran/primary.c
diff options
context:
space:
mode:
authordomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-01 10:55:50 +0000
committerdomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-01 10:55:50 +0000
commit12347af694d289e4e5233553b0af2b5f0a153834 (patch)
tree66c5e272b10868f7048d89734fa754d3d8f51f9d /gcc/fortran/primary.c
parent48eb43420ad600f909ae6eaf486f72421e3cd4fb (diff)
downloadgcc-12347af694d289e4e5233553b0af2b5f0a153834.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139857 138bc75d-0d04-0410-961f-82ee72b054a4
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 3a72dda8a99..c18774962fc 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)