aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/module.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2017-05-19 13:52:14 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2017-05-19 13:52:14 +0000
commit546c8974ff51ef7554e18d94177fc953c0e54b95 (patch)
treeec0a2b685388ea3e95b2a0809937cd06801fdd82 /gcc/fortran/module.c
parent43e89e0a1e35194c9a00de873518e5d81f21d5bf (diff)
downloadgcc-546c8974ff51ef7554e18d94177fc953c0e54b95.zip
gcc-546c8974ff51ef7554e18d94177fc953c0e54b95.tar.gz
gcc-546c8974ff51ef7554e18d94177fc953c0e54b95.tar.bz2
fortran: remove trailing exclamation mark from various diagnostics (PR fortran/79852)
gcc/fortran/ChangeLog: 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. From-SVN: r248283
Diffstat (limited to 'gcc/fortran/module.c')
-rw-r--r--gcc/fortran/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c
index e8cba14..838e55a 100644
--- a/gcc/fortran/module.c
+++ b/gcc/fortran/module.c
@@ -6976,7 +6976,7 @@ gfc_use_module (gfc_use_list *module)
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 ();