diff options
author | Paul Brook <paul@codesourcery.com> | 2004-09-08 14:33:03 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-09-08 14:33:03 +0000 |
commit | 6e45f57bf38ac4ca36f085a27729ebc25856333e (patch) | |
tree | a38df818a0e3b820f84fcfd17398ee161742aa6c /gcc/fortran/symbol.c | |
parent | c3462823c6c68ed4da8ec202ecae00b08708b28d (diff) | |
download | gcc-6e45f57bf38ac4ca36f085a27729ebc25856333e.zip gcc-6e45f57bf38ac4ca36f085a27729ebc25856333e.tar.gz gcc-6e45f57bf38ac4ca36f085a27729ebc25856333e.tar.bz2 |
array.c: Don't include assert.h.
* array.c: Don't include assert.h.
* data.c: Don't include assert.h. Replace assert and abort with
gcc_assert and gcc_unreachable.
* dependency.c: Ditto.
* f95-lang.c: Ditto.
* iresolve.c: Ditto.
* resolve.c: Ditto.
* simplify.c: Ditto.
* symbol.c: Ditto.
* trans-array.c: Ditto.
* trans-common.c: Ditto.
* trans-const.c: Ditto.
* trans-decl.c: Ditto.
* trans-expr.c: Ditto.
* trans-intrinsic.c: Ditto.
* trans-io.c: Ditto.
* trans-stmt.c: Ditto.
* trans-types.c: Ditto.
* trans.c: Ditto.
From-SVN: r87187
Diffstat (limited to 'gcc/fortran/symbol.c')
-rw-r--r-- | gcc/fortran/symbol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c index 25419cc..d1443bd 100644 --- a/gcc/fortran/symbol.c +++ b/gcc/fortran/symbol.c @@ -25,7 +25,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include <string.h> #include <stdio.h> #include <stdlib.h> -#include <assert.h> #include "gfortran.h" #include "parse.h" @@ -2206,7 +2205,7 @@ gfc_free_namespace (gfc_namespace * ns) ns->refs--; if (ns->refs > 0) return; - assert (ns->refs == 0); + gcc_assert (ns->refs == 0); gfc_free_statements (ns->code); |