This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[patch,fortran,commit] Fix error message (pointer intent)
- From: Tobias Burnus <burnus at net-b dot de>
- To: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 05 Jan 2007 21:28:00 +0100
- Subject: [patch,fortran,commit] Fix error message (pointer intent)
I knew there would be a some get broken by doing last-minute changes.
The word "conflicts" not only makes the message more confusing and
longer but also breaks the a pointer_intent test case.
Tobias
2007-01-05 Tobias Burnus <burnus@net-b.de>
* symbol.c (check_conflict): Fix error message.
Index: gcc/fortran/symbol.c
===================================================================
--- gcc/fortran/symbol.c (Revision 120495)
+++ gcc/fortran/symbol.c (Arbeitskopie)
@@ -573,7 +573,7 @@
if (name == NULL)
{
return gfc_notify_std (standard, "Fortran 2003: %s attribute "
- "conflicts with %s attribute at %L", a1, a2,
+ "with %s attribute at %L", a1, a2,
where);
}
else
{
return gfc_notify_std (standard, "Fortran 2003: %s attribute "
"with %s attribute in '%s' at %L",
a1, a2, name, where);
}