diff options
author | Janus Weil <janus@gcc.gnu.org> | 2010-06-16 14:54:54 +0200 |
---|---|---|
committer | Janus Weil <janus@gcc.gnu.org> | 2010-06-16 14:54:54 +0200 |
commit | 3e15518bc4c70b541b667e9f6bf3dfb80053b5ae (patch) | |
tree | e59b7cfa05176efde69a8f830c9e84a169966a62 /gcc/fortran/module.c | |
parent | fe27aa8bc46f9ce5324d19e1102901639274c578 (diff) | |
download | gcc-3e15518bc4c70b541b667e9f6bf3dfb80053b5ae.zip gcc-3e15518bc4c70b541b667e9f6bf3dfb80053b5ae.tar.gz gcc-3e15518bc4c70b541b667e9f6bf3dfb80053b5ae.tar.bz2 |
re PR fortran/44549 ([OOP][F2008] Type-bound procedure: bogus error from list after PROCEDURE)
2010-06-16 Janus Weil <janus@gcc.gnu.org>
PR fortran/44549
* gfortran.h (gfc_get_typebound_proc): Modified Prototype.
* decl.c (match_procedure_in_type): Give a unique gfc_typebound_proc
structure to each procedure in a procedure list.
* module.c (mio_typebound_proc): Add NULL argument to
'gfc_get_typebound_proc'.
* symbol.c (gfc_get_typebound_proc): Add a new argument, which is used
to initialize the new structure.
2010-06-16 Janus Weil <janus@gcc.gnu.org>
PR fortran/44549
* gfortran.dg/typebound_proc_16.f03: New.
From-SVN: r160834
Diffstat (limited to 'gcc/fortran/module.c')
-rw-r--r-- | gcc/fortran/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c index 5cd760b..335fd27 100644 --- a/gcc/fortran/module.c +++ b/gcc/fortran/module.c @@ -3324,7 +3324,7 @@ mio_typebound_proc (gfc_typebound_proc** proc) if (iomode == IO_INPUT) { - *proc = gfc_get_typebound_proc (); + *proc = gfc_get_typebound_proc (NULL); (*proc)->where = gfc_current_locus; } gcc_assert (*proc); |