decl.c (gnat_to_gnu_entity): Use XNEW instead of xmalloc.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 25 Sep 2011 20:15:10 +0000 (20:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 25 Sep 2011 20:15:10 +0000 (20:15 +0000)
commitdee12fcd11764d3a1c2f5f6f8d00a2b17f1119ec
tree135262bbdf17968f20151428c4863f4df55757d0
parentdea976c48066580dff56c1055027d7398072bfc9
decl.c (gnat_to_gnu_entity): Use XNEW instead of xmalloc.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Subtype>: Use
XNEW instead of xmalloc.  Do not build useless pointer type.
<E_Anonymous_Access_Subprogram_Type>: Use XNEW instead of xmalloc.
* gcc-interface/trans.c (gnat_to_gnu) <N_Raise_Constraint_Error>: Tidy.
* gcc-interface/utils2.c (build_unary_op): Remove local variable.

From-SVN: r179168
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils2.c