diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-11 08:58:58 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-11 08:58:58 +0000 |
commit | 88c5a1d19f0745445d51684b28a18d9ba92e3a09 (patch) | |
tree | 925b12f81139a149b6eac2f48f1a0c0b78fd2124 /gcc/optabs.h | |
parent | 161dfa6ef228666f2b021f7eac3440badc118aa8 (diff) | |
download | gcc-88c5a1d19f0745445d51684b28a18d9ba92e3a09.tar.gz |
gcc/
* expr.h (can_move_by_pieces): Move prototype from here ...
* tree.h (can_move_by_pieces): ... to here.
* optabs.h (set_widening_optab_handler): Use XCNEW.
* gimplify.c: Do not include expr.h.
* toplev.c: Do not include dwarf2out.h.
* config/ia64/ia64.c: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/t-sparc (sparc.o): Fix dependencies.
* Makefile.in (toplev.o): Fix dependencies
(c-family/c-gimplify.o): Likewise.
(c-family/c-common.o): Likewise.
c-family/
* c-gimplify.c: Do not include basic-block.h.
* c-common.c: Do not include linfuncs.h.
cp/
* method.c: Do not include tree-pass.h.
fortran/
* trans.c: Do not include defaults.h.
* trans-intrinsic.c: Likewise.
java/
* decl.c: Do not include libfuncs.h.
* class.c: Do not include defaults.h.
* jvgenmain.c: Likewise.
* magnle.c: Likewise.
* Make-lang.in (decl.o): Fix dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189425 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.h')
-rw-r--r-- | gcc/optabs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/optabs.h b/gcc/optabs.h index 8b04e17e7b3..816fc296742 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -1065,8 +1065,7 @@ set_widening_optab_handler (optab op, enum machine_mode to_mode, else { if (op->widening == NULL) - op->widening = (struct widening_optab_handlers *) - xcalloc (1, sizeof (struct widening_optab_handlers)); + op->widening = XCNEW (struct widening_optab_handlers); op->widening->handlers[(int) to_mode][(int) from_mode].insn_code = code; } |