aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-11-27 19:07:08 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-11-27 19:07:08 +0000
commit17a3480b6a53b15c54f6f60aaf467232ac54d83d (patch)
tree334d0bf6e0c8ae5b51f04a368c5bc0d8b5d2e5ae
parent8af4370b023f517ba4bf246d18d33840945c1daf (diff)
downloadgcc-17a3480b6a53b15c54f6f60aaf467232ac54d83d.zip
gcc-17a3480b6a53b15c54f6f60aaf467232ac54d83d.tar.gz
gcc-17a3480b6a53b15c54f6f60aaf467232ac54d83d.tar.bz2
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
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/gcc-interface/utils2.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index c32cac5..03f2d68 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,10 @@
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
* gcc-interface/targtyps.c (get_target_double_scalar_alignment): Guard
use of TARGET_64BIT macro.
diff --git a/gcc/ada/gcc-interface/utils2.c b/gcc/ada/gcc-interface/utils2.c
index 43599fa..bad121c 100644
--- a/gcc/ada/gcc-interface/utils2.c
+++ b/gcc/ada/gcc-interface/utils2.c
@@ -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