From: Tobias Schlüter Date: Sat, 10 Jul 2004 16:26:05 +0000 (+0200) Subject: re PR fortran/16336 (ICE with common block in module) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=794ba78be2148d3a92bccea446169e4dfad90c45;p=gcc.git 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 --- 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; } }