aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-12-22 10:12:05 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-22 10:12:05 +0000
commit86a8ba5b7527ae5df4165567535e67099ab6c52c (patch)
tree8824ea17e8726ddd6a9b09469d169971f54db7ad /gcc/ada/gcc-interface/misc.c
parent9a1e784ae82f0ebff6d018631d3fe3730359f3c1 (diff)
downloadgcc-86a8ba5b7527ae5df4165567535e67099ab6c52c.zip
gcc-86a8ba5b7527ae5df4165567535e67099ab6c52c.tar.gz
gcc-86a8ba5b7527ae5df4165567535e67099ab6c52c.tar.bz2
decl.c (check_ok_for_atomic): Rename into...
* gcc-interface/decl.c (check_ok_for_atomic): Rename into... (check_ok_for_atomic_type): ...this. When checking the mode, also check that the type is sufficient aligned. Remove useless code and tidy up implementation. (gnat_to_gnu_entity): Adjust to above renaming. (gnat_to_gnu_component_type): Likewise. (gnat_to_gnu_field): Likewise. From-SVN: r219007
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
-rw-r--r--gcc/ada/gcc-interface/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c
index 2ab3f92..14c58da 100644
--- a/gcc/ada/gcc-interface/misc.c
+++ b/gcc/ada/gcc-interface/misc.c
@@ -662,7 +662,7 @@ gnat_get_array_descr_info (const_tree type, struct array_descr_info *info)
info->ndimensions = i;
convention_fortran_p = TYPE_CONVENTION_FORTRAN_P (type);
- /* TODO??? For row major ordering, we probably want to emit nothing and
+ /* TODO: For row major ordering, we probably want to emit nothing and
instead specify it as the default in Dw_TAG_compile_unit. */
info->ordering = (convention_fortran_p
? array_descr_ordering_column_major