[Patch, Fortran] PR 36322/36463
Janus Weil
jaydub66@googlemail.com
Fri Oct 24 09:45:00 GMT 2008
Hi all,
here is a patch which fixes most of the problems in PR36322 and
PR36463. I think it's enough for PR3622 to be closed and for PR36463
not to be called a regression any more (I will keep this one open and
fix the remaining trouble in a follow-up patch). I had several test
cases before, but compressed them all into one. The patch is
regression-tested on i686-pc-linux-gnu. Ok for trunk?
Cheers,
Janus
2008-10-24 Janus Weil <janus@gcc.gnu.org>
PR fortran/36322
PR fortran/36463
* gfortran.h: New function gfc_expr_replace_symbols.
* decl.c (match_procedure_decl): Increase reference count for interface.
* expr.c: New functions replace_symbol and gfc_expr_replace_symbols.
* resolve.c (resolve_symbol): Correctly copy array spec and char len
of PROCEDURE declarations from their interface.
* symbol.c (gfc_get_default_type): Enhanced error message.
* trans-expr.c (gfc_conv_function_call): Bugfix.
2008-10-24 Janus Weil <janus@gcc.gnu.org>
PR fortran/36322
PR fortran/36463
* gfortran.dg/proc_decl_17.f90: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36322.diff
Type: text/x-patch
Size: 4365 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081024/a3c44741/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proc_decl_17.f90
Type: application/octet-stream
Size: 1256 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081024/a3c44741/attachment.obj>
More information about the Fortran
mailing list