aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-07-31 22:04:03 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-07-31 22:04:03 +0000
commit4c5a06150c83d2afa3354c22c4f340774fcacdc8 (patch)
tree0a3c9f745a58ffbd76137af01e163baa34eefb99 /gcc/ada/gcc-interface/decl.c
parent90d245c5622d1f805f1936e03331d0b26b1cfd49 (diff)
downloadgcc-4c5a06150c83d2afa3354c22c4f340774fcacdc8.zip
gcc-4c5a06150c83d2afa3354c22c4f340774fcacdc8.tar.gz
gcc-4c5a06150c83d2afa3354c22c4f340774fcacdc8.tar.bz2
decl.c (gnat_to_gnu_entity): Fix formatting.
* gcc-interface/decl.c (gnat_to_gnu_entity): Fix formatting. * gcc-interface/utils.c (create_field_decl): Avoid superfluous work. From-SVN: r138440
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
-rw-r--r--gcc/ada/gcc-interface/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c
index b02b9a0..f8ebf5a 100644
--- a/gcc/ada/gcc-interface/decl.c
+++ b/gcc/ada/gcc-interface/decl.c
@@ -3062,7 +3062,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
/* Discard old fields that are outside the new type.
This avoids confusing code scanning it to decide
- how to pass it to functions on some platforms. */
+ how to pass it to functions on some platforms. */
if (TREE_CODE (gnu_new_pos) == INTEGER_CST
&& TREE_CODE (TYPE_SIZE (gnu_type)) == INTEGER_CST
&& !integer_zerop (gnu_size)