From 5fb41e29c618d963914e53c0b364c7717b47ac40 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Wed, 24 Sep 2008 09:08:22 +0200 Subject: options.c (set_default_std_flags,gfc_init_options): Add comment: keep in sync with libgfortran. 2008-09-24 Tobias Burnus * options.c (set_default_std_flags,gfc_init_options): Add comment: keep in sync with libgfortran. 2008-09-24 Tobias Burnus * runtime/compile_options.c (init_compile_options): Sync flags with front end. From-SVN: r140625 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/options.c | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'gcc/fortran') diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3d99ae3..c8301f6 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,5 +1,10 @@ 2008-09-24 Tobias Burnus + * options.c (set_default_std_flags,gfc_init_options): + Add comment: keep in sync with libgfortran. + +2008-09-24 Tobias Burnus + PR fortran/37626 * trans-array.c (gfc_trans_deferred_array): Don't auto-deallocate result variables. diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index 52174b3..e84b3b1 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -37,7 +37,8 @@ gfc_option_t gfc_option; /* Set flags that control warnings and errors for different - Fortran standards to their default values. */ + Fortran standards to their default values. Keep in sync with + libgfortran/runtime/compile_options.c (init_compile_options). */ static void set_default_std_flags (void) @@ -48,7 +49,9 @@ set_default_std_flags (void) gfc_option.warn_std = GFC_STD_F95_DEL | GFC_STD_LEGACY; } -/* Get ready for options handling. */ + +/* Get ready for options handling. Keep in sync with + libgfortran/runtime/compile_options.c (init_compile_options). */ unsigned int gfc_init_options (unsigned int argc, const char **argv) -- cgit v1.1