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]

Re: [Patch,Fortran, 4.6] Coarray 4/n: Rename "ALL STOP" to "ERROR STOP"


On Tue, Feb 23, 2010 at 22:12, Tobias Burnus <burnus@net-b.de> wrote:
> Tobias Burnus wrote:
>> I intent to apply this patch atop of patch 1,
>> http://gcc.gnu.org/ml/fortran/2010-02/msg00043.html, before committal.
>>
>> At the WG5/J3 (well, PL22.3) meeting it was decided to rename ALL STOP
>> into ERROR STOP, see http://j3-fortran.org/doc/meeting/191/10-144.txt.
>> Well, that's what this patch does.
>>
>> Build on x86-64-linux. OK for the 4.6 trunk?
>>
>
> For those whose glass ball is currently broken I have now also attached
> the patch.
>
> Tobias
>

--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -205,7 +205,7 @@ arith;
 /* Statements.  */
 typedef enum
 {
-  ST_ARITHMETIC_IF, ST_ALL_STOP, ST_ALLOCATE, ST_ATTR_DECL, ST_BACKSPACE,
+  ST_ARITHMETIC_IF, ST_ERROR_STOP, ST_ALLOCATE, ST_ATTR_DECL,

Please keep the alphabetical order.

@@ -1155,8 +1155,8 @@ gfc_ascii_statement (gfc_statement st)
     case ST_ALLOCATE:
       p = "ALLOCATE";
       break;
-    case ST_ALL_STOP:
-      p = "ALL STOP";
+    case ST_ERROR_STOP:
+      p = "ERROR STOP";
       break;
     case ST_ATTR_DECL:
       p = _("attribute declaration");

Likewise.

Otherwise Ok for 4.6.

-- 
Janne Blomqvist


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