]> git.ipfire.org Git - thirdparty/gcc.git/commit
trans.c (gigi): Set DECL_IGNORED_P on EH functions.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 15 Apr 2010 20:21:08 +0000 (20:21 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 15 Apr 2010 20:21:08 +0000 (20:21 +0000)
commit1fc24649bc296400468fdd26eb93f144fdafdfbf
treedf70b088f847795d72172c58ec00218b5b4a4460
parentbafaef55aaaf4f6431b2998cd0cd469c664a0211
trans.c (gigi): Set DECL_IGNORED_P on EH functions.

* gcc-interface/trans.c (gigi): Set DECL_IGNORED_P on EH functions.
(gnat_to_gnu) <N_Op_Eq>: Restore the value of input_location
before translating the top-level node.
(lvalue_required_p) <N_Function_Call>: Return 1 if !constant.
<N_Object_Declaration>: Likewise.
<N_Assignment_Statement>: Likewise.
<N_Unchecked_Type_Conversion>: Likewise.
(call_to_gnu): Remove kludge.
(gnat_to_gnu) <N_Return_Statement>: When not optimizing, force labels
associated with user returns to be preserved.
(gnat_to_gnu): Add special code to deal with boolean rvalues.
* gcc-interface/utils2.c (compare_arrays): Set input_location on all
comparisons.
(build_unary_op) <ADDR_EXPR>: Call build_fold_addr_expr.
<INDIRECT_REF>: Call build_fold_indirect_ref.

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