[patch,fortran,commit] Fix error message (pointer intent)

Tobias Burnus burnus@net-b.de
Fri Jan 5 20:28:00 GMT 2007


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);
     }



More information about the Fortran mailing list