This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Fix PR15140: Bogus assertion
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>,patch <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 15 Jul 2004 19:14:29 +0100
- Subject: Re: [gfortran] Fix PR15140: Bogus assertion
- Organization: CodeSourcery
- References: <40F6C8A6.4000402@physik.uni-muenchen.de>
> Index: trans-decl.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/fortran/trans-decl.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 trans-decl.c
> --- trans-decl.c 12 Jul 2004 01:23:36 -0000 1.22
> +++ trans-decl.c 15 Jul 2004 18:01:53 -0000
> @@ -1710,7 +1730,6 @@ gfc_trans_deferred_vars (gfc_symbol * pr
> assert (sym->attr.dummy);
>
> /* We should always pass assumed size arrays the g77 way. */
> - assert (TREE_CODE (sym->backend_decl) == PARM_DECL);
> fnbody = gfc_trans_g77_array (sym, fnbody);
> break;
ChangeLog?
Ok.
Paul