diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-11 08:58:58 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-11 08:58:58 +0000 |
commit | 6bdf3519449086bc04f2431305607ff8c71e27ca (patch) | |
tree | 925b12f81139a149b6eac2f48f1a0c0b78fd2124 /gcc/optabs.h | |
parent | b8244d74e1929d1f4e06dbc3ca307ddf754c6b3c (diff) | |
download | gcc-6bdf3519449086bc04f2431305607ff8c71e27ca.zip gcc-6bdf3519449086bc04f2431305607ff8c71e27ca.tar.gz gcc-6bdf3519449086bc04f2431305607ff8c71e27ca.tar.bz2 |
expr.h (can_move_by_pieces): Move prototype from here ...
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.
From-SVN: r189425
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 8b04e17..816fc29 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; } |