diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-07 15:42:44 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-07 15:42:44 +0000 |
commit | 1e944a0b51698cfea09da04479be167faec7885e (patch) | |
tree | c65d60d00c6229816d216301657c930f608d6cbd /gcc/java | |
parent | ff2cd6d16915a0b5d8ebda9a07d51764cf428683 (diff) | |
download | gcc-1e944a0b51698cfea09da04479be167faec7885e.tar.gz |
* config/mcore/mcore.c Don't include assert.h.
(layout_mcore_frame, handle_structs_in_regs): Use gcc_assert.
* config/spu/spu.c: Don't include assert.h.
(spu_sms_res_mii): Use gcc_assert.
cp:
* rtti.c: Don't include assert.h.
java:
* jcf-parse.c: Don't include assert.h.
(java_parse_file): Use gcc_assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167552 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/jcf-parse.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 38df4b30a50..906a5a09e80 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2010-12-07 Joseph Myers <joseph@codesourcery.com> + + * jcf-parse.c: Don't include assert.h. + (java_parse_file): Use gcc_assert. + 2010-12-03 Joseph Myers <joseph@codesourcery.com> * lang.opt (static-libgcj): New option. diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 9166f311e99..d10791fe631 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -38,7 +38,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "parse.h" #include "ggc.h" #include "debug.h" -#include "assert.h" #include "cgraph.h" #include "vecprim.h" #include "bitmap.h" @@ -1855,7 +1854,7 @@ java_parse_file (void) const char *resource_filename; /* Only one resource file may be compiled at a time. */ - assert (VEC_length (tree, all_translation_units) == 1); + gcc_assert (VEC_length (tree, all_translation_units) == 1); resource_filename = IDENTIFIER_POINTER |