Patchwork [Fortran] F2008 - allow a semicolon at the beginning of a line

login
register
mail settings
Submitter Tobias Burnus
Date June 26, 2010, 6:20 a.m.
Message ID <4C259C37.5020601@net-b.de>
Download mbox | patch
Permalink /patch/57051/
State New
Headers show

Comments

Tobias Burnus - June 26, 2010, 6:20 a.m.
Tobias Burnus wrote:
> Fortran 2008 allows - for free format - a semicolon as first item in a line:
>   

Committed the following as follow up (Rev. 161426) - thanks to Jerry for
finding this.

Tobias

Patch

Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog     (Revision 161425)
+++ gcc/testsuite/ChangeLog     (Arbeitskopie)
@@ -1,3 +1,8 @@ 
+2010-06-26  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.dg/semicolon_fixed.f: Fix dg syntax..
+       * gfortran.dg/semicolon_fixed_2.f: Ditto.
+
 2010-06-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR testsuite/38946
Index: gcc/testsuite/gfortran.dg/semicolon_fixed.f
===================================================================
--- gcc/testsuite/gfortran.dg/semicolon_fixed.f (Revision 161425)
+++ gcc/testsuite/gfortran.dg/semicolon_fixed.f (Arbeitskopie)
@@ -1,5 +1,5 @@ 
 ! { dg-do compile }
-! { dg-do options "-std=f2003" }
+! { dg-options "-std=f2003" }
 !
 ! PR 19259 Semicolon cannot start a line (in F2003)
       x=1; y=1;
Index: gcc/testsuite/gfortran.dg/semicolon_fixed_2.f
===================================================================
--- gcc/testsuite/gfortran.dg/semicolon_fixed_2.f       (Revision 161425)
+++ gcc/testsuite/gfortran.dg/semicolon_fixed_2.f       (Arbeitskopie)
@@ -1,5 +1,5 @@ 
 ! { dg-do compile }
-! { dg-do options "-std=f2008" }
+! { dg-options "-std=f2008" }
 
 ! PR 19259 Semicolon cannot start a line
 ! but it F2008 it can!