* trans-types.c (gfc_real16_is_float128): Fix spelling
in a comment.
* trans.h (struct gfc_array_info): Ditto.
* gfortran.h (gfc_expr): Ditto.
* simplify.c (gfc_count): Ditto.
* trans-expr.c (gfc_copy_class_to_class,
conv_parent_component_references,
gfc_trans_pointer_assignment): Ditto.
* expr.c (check_pointer_assign): Fix diagnostic spelling.
* interface.c (compare_parameter): Ditto.
* parse.c (use_modules, parse_associate): Ditto.
* decl.c (match_char_length): Fix spelling of the
an function argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189859
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-07-25 Tobias Burnus <burnus@net-b.de>
+
+ * trans-types.c (gfc_real16_is_float128): Fix spelling
+ in a comment.
+ * trans.h (struct gfc_array_info): Ditto.
+ * gfortran.h (gfc_expr): Ditto.
+ * simplify.c (gfc_count): Ditto.
+ * trans-expr.c (gfc_copy_class_to_class,
+ conv_parent_component_references,
+ gfc_trans_pointer_assignment): Ditto.
+ * expr.c (check_pointer_assign): Fix diagnostic spelling.
+ * interface.c (compare_parameter): Ditto.
+ * parse.c (use_modules, parse_associate): Ditto.
+ * decl.c (match_char_length): Fix spelling of the
+ an function argument.
+
2012-07-21 Tobias Burnus <burnus@net-b.de>
* iso-c-binding.def (C_PTRDIFF_T): New TS29113 parameter.
char_len_param_value in parenthesis. */
static match
-match_char_length (gfc_expr **expr, bool *deferred, bool obsolenscent_check)
+match_char_length (gfc_expr **expr, bool *deferred, bool obsolescent_check)
{
int length;
match m;
if (m == MATCH_YES)
{
- if (obsolenscent_check
+ if (obsolescent_check
&& gfc_notify_std (GFC_STD_F95_OBS,
"Old-style character length at %C") == FAILURE)
return MATCH_ERROR;
if (attr.elemental && !attr.intrinsic)
{
gfc_error ("Nonintrinsic elemental procedure '%s' is invalid "
- "in procedure pointer assigment at %L",
+ "in procedure pointer assignment at %L",
rvalue->symtree->name, &rvalue->where);
return FAILURE;
}
is not a variable. */
struct gfc_expr *base_expr;
- /* is_boz is true if the integer is regarded as BOZ bitpatten and is_snan
+ /* is_boz is true if the integer is regarded as BOZ bit pattern and is_snan
denotes a signalling not-a-number. */
unsigned int is_boz : 1, is_snan : 1;
{
if (where)
gfc_error ("Actual argument to contiguous pointer dummy '%s' at %L "
- "must be simply contigous", formal->name, &actual->where);
+ "must be simply contiguous", formal->name, &actual->where);
return 0;
}
}
-/* Load symbols from all USE statements encounted in this scoping unit. */
+/* Load symbols from all USE statements encountered in this scoping unit. */
static void
use_modules (void)
if (s.ext.end_do_label != NULL
&& s.ext.end_do_label != gfc_statement_label)
gfc_error_now ("Statement label in END CRITICAL at %C does not "
- "match CRITIAL label");
+ "match CRITICAL label");
if (gfc_statement_label != NULL)
{
however, as it may only be set on the target during resolution.
Still, sometimes it helps to have it right now -- especially
for parsing component references on the associate-name
- in case of assication to a derived-type. */
+ in case of association to a derived-type. */
sym->ts = a->target->ts;
}
/* Wrapper function, implements 'op1 += 1'. Only called if MASK
of COUNT intrinsic is .TRUE..
- Interface and implimentation mimics arith functions as
+ Interface and implementation mimics arith functions as
gfc_add, gfc_multiply, etc. */
static gfc_expr* gfc_count (gfc_expr *op1, gfc_expr *op2)
/* Copies one class expression to another, assuming that if either
'to' or 'from' are arrays they are packed. Should 'from' be
- NULL_TREE, the inialization expression for 'to' is used, assuming
+ NULL_TREE, the initialization expression for 'to' is used, assuming
that the _vptr is set. */
tree
/* This function deals with component references to components of the
- parent type for derived type extensons. */
+ parent type for derived type extensions. */
static void
conv_parent_component_references (gfc_se * se, gfc_ref * ref)
{
/* Array pointer. Find the last reference on the LHS and if it is an
array section ref, we're dealing with bounds remapping. In this case,
set it to AR_FULL so that gfc_conv_expr_descriptor does
- not see it and process the bounds remapping afterwards explicitely. */
+ not see it and process the bounds remapping afterwards explicitly. */
for (remap = expr1->ref; remap; remap = remap->next)
if (!remap->next && remap->type == REF_ARRAY
&& remap->u.ar.type == AR_SECTION)
return 0;
/* We want a descriptor for associate-name arrays that do not have an
- explicitely known shape already. */
+ explicitly known shape already. */
if (sym->assoc && sym->as->type != AS_EXPLICIT)
return 0;
and runtime library. */
extern GTY(()) tree gfc_charlen_type_node;
-/* The following flags give us information on the correspondance of
+/* The following flags give us information on the correspondence of
real (and complex) kinds with C floating-point types long double
and __float128. */
extern bool gfc_real16_is_float128;
gfc_coarray_type;
-/* The array-specific scalarization informations. The array members of
+/* The array-specific scalarization information. The array members of
this struct are indexed by actual array index, and thus can be sparse. */
typedef struct gfc_array_info