diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2007-08-11 16:38:51 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2007-08-11 16:38:51 +0000 |
commit | 4d8a9bfe2438189694ccb83cf02f49b5f1659ae6 (patch) | |
tree | 61037d4ddc2d7ab37331e1566680de2bec4058c4 /gcc | |
parent | 39595763534dcdf037f4796faaf893516d8ad2e9 (diff) | |
download | gcc-4d8a9bfe2438189694ccb83cf02f49b5f1659ae6.zip gcc-4d8a9bfe2438189694ccb83cf02f49b5f1659ae6.tar.gz gcc-4d8a9bfe2438189694ccb83cf02f49b5f1659ae6.tar.bz2 |
decl.c, utils2.c: Fix whitespace in last change.
* decl.c, utils2.c: Fix whitespace in last change.
From-SVN: r127359
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/decl.c | 7 | ||||
-rw-r--r-- | gcc/ada/utils2.c | 7 |
3 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 396a32a..32b144f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,5 +1,9 @@ 2007-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * decl.c, utils2.c: Fix whitespace in last change. + +2007-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * decl.c (compare_field_bitpos): Constify. * utils2.c (compare_elmt_bitpos): Likewise. diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c index 5c202f0e..c82f3dc 100644 --- a/gcc/ada/decl.c +++ b/gcc/ada/decl.c @@ -5847,9 +5847,10 @@ is_variable_size (tree type) static int compare_field_bitpos (const PTR rt1, const PTR rt2) { - const_tree const field1 = * (const_tree const*) rt1; - const_tree const field2 = * (const_tree const*) rt2; - const int ret = tree_int_cst_compare (bit_position (field1), bit_position (field2)); + const_tree const field1 = * (const_tree const *) rt1; + const_tree const field2 = * (const_tree const *) rt2; + const int ret + = tree_int_cst_compare (bit_position (field1), bit_position (field2)); return ret ? ret : (int) (DECL_UID (field1) - DECL_UID (field2)); } diff --git a/gcc/ada/utils2.c b/gcc/ada/utils2.c index fe27288c..9134f03 100644 --- a/gcc/ada/utils2.c +++ b/gcc/ada/utils2.c @@ -1542,11 +1542,12 @@ build_call_raise (int msg, Node_Id gnat_node, char kind) static int compare_elmt_bitpos (const PTR rt1, const PTR rt2) { - const_tree const elmt1 = * (const_tree const*) rt1; - const_tree const elmt2 = * (const_tree const*) rt2; + const_tree const elmt1 = * (const_tree const *) rt1; + const_tree const elmt2 = * (const_tree const *) rt2; const_tree const field1 = TREE_PURPOSE (elmt1); const_tree const field2 = TREE_PURPOSE (elmt2); - const int ret = tree_int_cst_compare (bit_position (field1), bit_position (field2)); + const int ret + = tree_int_cst_compare (bit_position (field1), bit_position (field2)); return ret ? ret : (int) (DECL_UID (field1) - DECL_UID (field2)); } |