This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Fix PR15140: Bogus assertion


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]