re PR ada/46574 (ada bootstrap fails with --enable-build-with-cxx.)

PR ada/46574
	* gcc-interface/utils2.c (compare_elmt_bitpos): Fix typos.

From-SVN: r167207
This commit is contained in:
Eric Botcazou 2010-11-27 19:07:08 +00:00 committed by Eric Botcazou
parent 8af4370b02
commit 17a3480b6a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
PR ada/46574
* gcc-interface/utils2.c (compare_elmt_bitpos): Fix typos.
2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
PR ada/40777

View File

@ -1654,8 +1654,8 @@ build_call_raise_column (int msg, Node_Id gnat_node)
static int
compare_elmt_bitpos (const PTR rt1, const PTR rt2)
{
const constructor_elt * const elmt1 = (const constructor_elt const *) rt1;
const constructor_elt * const elmt2 = (const constructor_elt const *) rt2;
const constructor_elt * const elmt1 = (const constructor_elt * const) rt1;
const constructor_elt * const elmt2 = (const constructor_elt * const) rt2;
const_tree const field1 = elmt1->index;
const_tree const field2 = elmt2->index;
const int ret