aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-05-30 10:38:00 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-05-30 10:38:00 +0000
commitc01fe45120921336cd37363f723fbf04e29b28a7 (patch)
tree6e6e4d7b93573bd22f6892bea0085c055fef83f5 /gcc/ada/gcc-interface/utils.c
parentf59292da17890842161b449aac15909dcceeeaaf (diff)
downloadgcc-c01fe45120921336cd37363f723fbf04e29b28a7.zip
gcc-c01fe45120921336cd37363f723fbf04e29b28a7.tar.gz
gcc-c01fe45120921336cd37363f723fbf04e29b28a7.tar.bz2
decl.c (gnat_to_gnu_entity): Adjust warning message.
* gcc-interface/decl.c (gnat_to_gnu_entity): Adjust warning message. Fix nits in comments. * gcc-interface/misc.c (gnat_init_gcc_eh): Likewise. * gcc-interface/trans.c (gigi): Likewise. (Attribute_to_gnu): Likewise. (Case_Statement_to_gnu): Likewise. (gnat_to_gnu): Adjust warning message. * gcc-interface/utils.c (create_var_decl_1): Fix nits in comments. (build_vms_descriptor32): Likewise. From-SVN: r160048
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r--gcc/ada/gcc-interface/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index 75eb29b..f10b788 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -1380,7 +1380,7 @@ create_var_decl_1 (tree var_name, tree asm_name, tree type, tree var_init,
/* For an external constant whose initializer is not absolute, do not emit
debug info. In DWARF this would mean a global relocation in a read-only
- section which runs afoul of the PE-COFF runtime relocation mechanism. */
+ section which runs afoul of the PE-COFF run-time relocation mechanism. */
if (extern_flag
&& constant_p
&& initializer_constant_valid_p (var_init, TREE_TYPE (var_init))
@@ -2445,7 +2445,7 @@ build_vms_descriptor32 (tree type, Mechanism_Type mech, Entity_Id gnat_entity)
make_descriptor_field ("CLASS", gnat_type_for_size (8, 1),
record_type, size_int (klass)));
- /* Of course this will crash at run-time if the address space is not
+ /* Of course this will crash at run time if the address space is not
within the low 32 bits, but there is nothing else we can do. */
pointer32_type = build_pointer_type_for_mode (type, SImode, false);