(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
+2010-12-07 Joseph Myers <joseph@codesourcery.com>
+
+ * 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.
+
2010-12-07 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/42327
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
-#include "assert.h"
#include "mcore.h"
#include "regs.h"
#include "hard-reg-set.h"
infp->local_growth = growths;
all -= step;
- assert (all == 0);
+ gcc_assert (all == 0);
/* Finish off if we need to do so. */
if (outbounds)
/* Anything else that we've forgotten?, plus a few consistency checks. */
finish:
- assert (infp->reg_offset >= 0);
- assert (growths <= MAX_STACK_GROWS);
+ gcc_assert (infp->reg_offset >= 0);
+ gcc_assert (growths <= MAX_STACK_GROWS);
for (i = 0; i < growths; i++)
gcc_assert (!(infp->growth[i] % STACK_BYTES));
}
/* We assume here that NPARM_REGS == 6. The assert checks this. */
- assert (ARRAY_SIZE (arg_regs) == 6);
+ gcc_assert (ARRAY_SIZE (arg_regs) == 6);
rtvec = gen_rtvec (nregs, arg_regs[0], arg_regs[1], arg_regs[2],
arg_regs[3], arg_regs[4], arg_regs[5]);
#include "cfglayout.h"
#include "sched-int.h"
#include "params.h"
-#include "assert.h"
#include "machmode.h"
#include "gimple.h"
#include "tm-constrs.h"
rtx insn = g->nodes[i].insn;
int p = get_pipe (insn) + 2;
- assert (p >= 0);
- assert (p < 4);
+ gcc_assert (p >= 0);
+ gcc_assert (p < 4);
t[p]++;
if (dump_file && INSN_P (insn))
+2010-12-07 Joseph Myers <joseph@codesourcery.com>
+
+ * rtti.c: Don't include assert.h.
+
2010-12-07 Nathan Froyd <froydnj@codesourcery.com>
PR c++/45330
#include "cp-tree.h"
#include "flags.h"
#include "output.h"
-#include "assert.h"
#include "convert.h"
#include "target.h"
#include "c-family/c-pragma.h"
+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.
#include "parse.h"
#include "ggc.h"
#include "debug.h"
-#include "assert.h"
#include "cgraph.h"
#include "vecprim.h"
#include "bitmap.h"
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