+2017-05-19 David Malcolm <dmalcolm@redhat.com>
+
+ PR fortran/79852
+ * bbt.c (insert): Remove trailing exclamation mark from message.
+ * decl.c (gfc_match_final_decl): Likewise.
+ * dump-parse-tree.c (show_expr): Likewise.
+ * module.c (gfc_use_module): Likewise.
+ * primary.c (build_actual_constructor): Likewise.
+ (gfc_convert_to_structure_constructor): Likewise.
+
2017-05-19 Thomas Schwinge <thomas@codesourcery.com>
* gfortran.h (enum gfc_omp_default_sharing): Add
for (p = gfc_state_stack; p; p = p->previous)
if ((p->state == COMP_MODULE || p->state == COMP_SUBMODULE)
&& strcmp (p->sym->name, module_name) == 0)
- gfc_fatal_error ("Can't USE the same %smodule we're building!",
+ gfc_fatal_error ("Can't USE the same %smodule we're building",
p->state == COMP_SUBMODULE ? "sub" : "");
init_pi_tree ();
else if (!comp->attr.artificial)
{
gfc_error ("No initializer for component %qs given in the"
- " structure constructor at %C!", comp->name);
+ " structure constructor at %C", comp->name);
return false;
}
}
{
if (last_name)
gfc_error ("Component initializer without name after component"
- " named %s at %L!", last_name,
+ " named %s at %L", last_name,
actual->expr ? &actual->expr->where
: &gfc_current_locus);
else
gfc_error ("Too many components in structure constructor at "
- "%L!", actual->expr ? &actual->expr->where
- : &gfc_current_locus);
+ "%L", actual->expr ? &actual->expr->where
+ : &gfc_current_locus);
goto cleanup;
}
if (!strcmp (comp_iter->name, comp_tail->name))
{
gfc_error ("Component %qs is initialized twice in the structure"
- " constructor at %L!", comp_tail->name,
+ " constructor at %L", comp_tail->name,
comp_tail->val ? &comp_tail->where
: &gfc_current_locus);
goto cleanup;
&& gfc_is_coindexed (comp_tail->val))
{
gfc_error ("Coindexed expression to pointer component %qs in "
- "structure constructor at %L!", comp_tail->name,
+ "structure constructor at %L", comp_tail->name,
&comp_tail->where);
goto cleanup;
}