aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>2004-09-24 18:26:47 +0200
committerTobias Schlüter <tobi@gcc.gnu.org>2004-09-24 18:26:47 +0200
commit206fb0a722984f4e463ab95a47ce0a8a2ffcdae8 (patch)
tree331eee554acbca48a645f6bb933577256be49af7
parent2c55ffb2afee4862eeb5189135d237b5a7f25ead (diff)
downloadgcc-206fb0a722984f4e463ab95a47ce0a8a2ffcdae8.zip
gcc-206fb0a722984f4e463ab95a47ce0a8a2ffcdae8.tar.gz
gcc-206fb0a722984f4e463ab95a47ce0a8a2ffcdae8.tar.bz2
trans-types.c (gfc_return_by_reference): Remove superfluous assertion.
* trans-types.c (gfc_return_by_reference): Remove superfluous assertion. From-SVN: r88051
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/trans-types.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index c0dfa23..cd67054 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c
index a87e6f3..23d6d40 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;