aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/primary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/primary.cc')
-rw-r--r--gcc/fortran/primary.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/primary.cc b/gcc/fortran/primary.cc
index 00d35a7..077489a 100644
--- a/gcc/fortran/primary.cc
+++ b/gcc/fortran/primary.cc
@@ -756,8 +756,8 @@ done:
}
/* Warn about trailing digits which suggest the user added too many
- trailing digits, which may cause the appearance of higher pecision
- than the kind kan support.
+ trailing digits, which may cause the appearance of higher precision
+ than the kind can support.
This is done by replacing the rightmost non-zero digit with zero
and comparing with the original value. If these are equal, we
@@ -3060,7 +3060,7 @@ build_actual_constructor (gfc_structure_ctor_component **comp_head,
return false;
value = gfc_get_null_expr (&gfc_current_locus);
}
- /* ....(Preceeding sentence) If a component with default
+ /* ....(Preceding sentence) If a component with default
initialization has no corresponding component-data-source, then
the default initialization is applied to that component. */
else if (comp->initializer)