From 794ba78be2148d3a92bccea446169e4dfad90c45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Schl=C3=BCter?= Date: Sat, 10 Jul 2004 18:26:05 +0200 Subject: [PATCH] re PR fortran/16336 (ICE with common block in module) PR fortran/16336 * match.c (match_common): Fix error reporting for used common. From-SVN: r84462 --- gcc/fortran/ChangeLog | 3 +++ gcc/fortran/match.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index deb15661bb0..c2551f219da 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -3,6 +3,9 @@ * expr.c (gfc_check_pointer_assign): Verify that rank of the LHS and RHS match. Return early if the RHS is NULL(). + PR fortran/16336 + * match.c (match_common): Fix error reporting for used common. + 2004-07-10 Tobias Schlueter * trans-common.c: Fix whitespace issues, make variable names diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c index f8bf2b334d1..2d85a56cc7d 100644 --- a/gcc/fortran/match.c +++ b/gcc/fortran/match.c @@ -2146,7 +2146,7 @@ gfc_match_common (void) if (t->use_assoc) { gfc_error ("COMMON block '%s' at %C has already " - "been USE-associated"); + "been USE-associated", name); goto cleanup; } } -- 2.30.2