Commit 4e6bf178 by Tobias Burnus

[multiple changes]

2007-11-26  Steven G. Kargl  <kargls@comcast.net>

        * options.c:  Change default behavior of backslash processing.
        * invoke.texi: Update documentation.

2007-11-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34203
        * gfortran.dg/backslash_3.f: Add -fbackslash option.
        * gfortran.dg/init_flag_1.f90: Add -fbackslash option.
        * gfortran.dg/backslash_1.f90: Remove no longer needed
        -fno-backslash option.

From-SVN: r130451
parent c00e8b06
2007-11-26 Steven G. Kargl <kargls@comcast.net>
PR fortran/34203
* options.c: Change default behavior of backslash processing.
* invoke.texi: Update documentation.
2007-11-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/33152
......
......@@ -121,7 +121,7 @@ by type. Explanations are in the following sections.
-ffixed-line-length-@var{n} -ffixed-line-length-none @gol
-ffree-line-length-@var{n} -ffree-line-length-none @gol
-fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 @gol
-fcray-pointer -fopenmp -fno-range-check -fno-backslash -fmodule-private}
-fcray-pointer -fopenmp -fno-range-check -fbackslash -fmodule-private}
@item Error and Warning Options
@xref{Error and Warning Options,,Options to request or suppress errors
......@@ -233,12 +233,12 @@ Do nothing if this is already the default.
@cindex character set
Allow @samp{$} as a valid character in a symbol name.
@item -fno-backslash
@opindex @code{fno-backslash}
@item -fbackslash
@opindex @code{backslash}
@cindex backslash
@cindex escape characters
Change the interpretation of backslashes in string literals from
``C-style'' escape characters to a single backslash character.
Change the interpretation of backslashes in string literals
from a single backslash character to ``C-style'' escape characters.
@item -fmodule-private
@opindex @code{fmodule-private}
......
......@@ -95,7 +95,7 @@ gfc_init_options (unsigned int argc ATTRIBUTE_UNUSED,
gfc_option.flag_repack_arrays = 0;
gfc_option.flag_preprocessed = 0;
gfc_option.flag_automatic = 1;
gfc_option.flag_backslash = 1;
gfc_option.flag_backslash = 0;
gfc_option.flag_module_private = 0;
gfc_option.flag_backtrace = 0;
gfc_option.flag_allow_leading_underscore = 0;
......
2007-11-26 Tobias Burnus <burnus@net-b.de>
PR fortran/34203
* gfortran.dg/backslash_3.f: Add -fbackslash option.
* gfortran.dg/init_flag_1.f90: Add -fbackslash option.
* gfortran.dg/backslash_1.f90: Remove no longer needed
-fno-backslash option.
2007-11-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c/23722
! { dg-do run }
! { dg-options "-fno-backslash" }
character(len=4) a
open (10, status='scratch')
write (10,'(A)') '1\n2'
......
C { dg-do run }
C { dg-options "-fbackslash" }
C PR fortran/30278
program a
character(len=1), parameter :: c1 = char(8), c2 = char(92)
......
! { dg-do run }
! { dg-options "-finit-local-zero" }
! { dg-options "-finit-local-zero -fbackslash" }
program init_flag_1
call real_test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment