This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]