]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
trans-types.c (gfc_return_by_reference): Remove superfluous assertion.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Fri, 24 Sep 2004 16:26:47 +0000 (18:26 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Fri, 24 Sep 2004 16:26:47 +0000 (18:26 +0200)
* trans-types.c (gfc_return_by_reference): Remove superfluous
assertion.

From-SVN: r88051

gcc/fortran/ChangeLog
gcc/fortran/trans-types.c

index c0dfa23fadb071ab771e30abd4ea1a15d4a259b7..cd67054d195a4481ed5407e194559bbceb9aa0b9 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-24  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * trans-types.c (gfc_return_by_reference): Remove superfluous
+       assertion.
+
 2004-09-20  Jan Hubicka  <jh@suse.cz>
 
        * trans-decl.c (build_entry_thunks): Finalize the function; do not lower
index a87e6f365ddb5284e78e884633732fd3f89ba123..23d6d400f9a0e67f4b236c6bc1f743ceb273a098 100644 (file)
@@ -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;