From 206fb0a722984f4e463ab95a47ce0a8a2ffcdae8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Schl=C3=BCter?= Date: Fri, 24 Sep 2004 18:26:47 +0200 Subject: [PATCH] trans-types.c (gfc_return_by_reference): Remove superfluous assertion. * trans-types.c (gfc_return_by_reference): Remove superfluous assertion. From-SVN: r88051 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/trans-types.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index c0dfa23fadb..cd67054d195 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2004-09-24 Tobias Schlueter + + * trans-types.c (gfc_return_by_reference): Remove superfluous + assertion. + 2004-09-20 Jan Hubicka * trans-decl.c (build_entry_thunks): Finalize the function; do not lower diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c index a87e6f365dd..23d6d400f9a 100644 --- a/gcc/fortran/trans-types.c +++ b/gcc/fortran/trans-types.c @@ -1435,8 +1435,6 @@ gfc_return_by_reference (gfc_symbol * sym) if (!sym->attr.function) return 0; - gcc_assert (sym->attr.function); - if (sym->result) sym = sym->result; -- 2.30.2