[PATCH] Silence the backslash whining.
Tobias Burnus
burnus@net-b.de
Mon Nov 26 22:27:00 GMT 2007
Paul Thomas wrote:
> Steve,
>> The attached patch should silence to whining of
>> a few individual in c.l.f because gfortran's current
>> default behavior does not conform to their visions
>> of a Fortran compiler and they are too damn lazy
>> to read and understand the documentation.
> Looks good - I'll commit it tomorrow morning.
>
> Thanks a lot - it's good to know that you're keeping your hand in!
I committed it now as Rev. 130451 including the test suite changes
listed below. (See also PR fortran/34203.)
Tobias
Index: gcc/testsuite/gfortran.dg/backslash_3.f
===================================================================
--- gcc/testsuite/gfortran.dg/backslash_3.f (Revision 130450)
+++ gcc/testsuite/gfortran.dg/backslash_3.f (Arbeitskopie)
@@ -1,4 +1,5 @@
C { dg-do run }
+C { dg-options "-fbackslash" }
C PR fortran/30278
program a
character(len=1), parameter :: c1 = char(8), c2 = char(92)
Index: gcc/testsuite/gfortran.dg/init_flag_1.f90
===================================================================
--- gcc/testsuite/gfortran.dg/init_flag_1.f90 (Revision 130450)
+++ gcc/testsuite/gfortran.dg/init_flag_1.f90 (Arbeitskopie)
@@ -1,5 +1,5 @@
! { dg-do run }
-! { dg-options "-finit-local-zero" }
+! { dg-options "-finit-local-zero -fbackslash" }
program init_flag_1
call real_test
Index: gcc/testsuite/gfortran.dg/backslash_1.f90
===================================================================
--- gcc/testsuite/gfortran.dg/backslash_1.f90 (Revision 130450)
+++ gcc/testsuite/gfortran.dg/backslash_1.f90 (Arbeitskopie)
@@ -1,5 +1,4 @@
! { dg-do run }
-! { dg-options "-fno-backslash" }
character(len=4) a
open (10, status='scratch')
write (10,'(A)') '1\n2'
More information about the Fortran
mailing list