aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorBrooks Moses <brooks.moses@codesourcery.com>2006-11-15 03:49:21 +0000
committerBrooks Moses <brooks@gcc.gnu.org>2006-11-14 19:49:21 -0800
commit4887aa7174404d3fa35104ffba53ad4dc613b474 (patch)
treed891801593b139a9be0f55138bbf7240e3a7bd5f /gcc/fortran
parenta48cfb7cc6bf4b0b146069156c2aebec0ca4e2af (diff)
downloadgcc-4887aa7174404d3fa35104ffba53ad4dc613b474.zip
gcc-4887aa7174404d3fa35104ffba53ad4dc613b474.tar.gz
gcc-4887aa7174404d3fa35104ffba53ad4dc613b474.tar.bz2
lang.opt: Remove -fno-backend option.
* lang.opt: Remove -fno-backend option. * gfortran.h (gfc_option_t): Remove flag_no_backend. * options.c (gfc_init_options): Remove flag_no_backend. (gfc_handle_option): Remove -fno-backend option handler. * parse.c (gfc_parse_file): Remove references to gfc_option.flag_no_backend. From-SVN: r118841
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog9
-rw-r--r--gcc/fortran/gfortran.h1
-rw-r--r--gcc/fortran/lang.opt4
-rw-r--r--gcc/fortran/options.c5
-rw-r--r--gcc/fortran/parse.c4
5 files changed, 11 insertions, 12 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 88bc865..9e1433c 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,12 @@
+2006-11-14 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * lang.opt: Remove -fno-backend option.
+ * gfortran.h (gfc_option_t): Remove flag_no_backend.
+ * options.c (gfc_init_options): Remove flag_no_backend.
+ (gfc_handle_option): Remove -fno-backend option handler.
+ * parse.c (gfc_parse_file): Remove references to
+ gfc_option.flag_no_backend.
+
2006-11-14 Tobias Burnus <burnus@net-b.de>
* match.c (gfc_match_namelist): Add missing space to
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index f78f923..a369d32 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -1640,7 +1640,6 @@ typedef struct
int flag_second_underscore;
int flag_implicit_none;
int flag_max_stack_var_size;
- int flag_no_backend;
int flag_range_check;
int flag_pack_derived;
int flag_repack_arrays;
diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
index 3409841..fc2127c 100644
--- a/gcc/fortran/lang.opt
+++ b/gcc/fortran/lang.opt
@@ -181,10 +181,6 @@ fmax-stack-var-size=
Fortran RejectNegative Joined UInteger
-fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
-fno-backend
-Fortran RejectNegative
-Don't generate code, just do syntax and semantics checking
-
frange-check
Fortran
Enable range checking during compilation
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c
index 5d708e2..3d870b8 100644
--- a/gcc/fortran/options.c
+++ b/gcc/fortran/options.c
@@ -73,7 +73,6 @@ gfc_init_options (unsigned int argc ATTRIBUTE_UNUSED,
gfc_option.flag_second_underscore = -1;
gfc_option.flag_implicit_none = 0;
gfc_option.flag_max_stack_var_size = 32768;
- gfc_option.flag_no_backend = 0;
gfc_option.flag_range_check = 1;
gfc_option.flag_pack_derived = 0;
gfc_option.flag_repack_arrays = 0;
@@ -520,10 +519,6 @@ gfc_handle_option (size_t scode, const char *arg, int value)
gfc_option.flag_max_stack_var_size = value;
break;
- case OPT_fno_backend:
- gfc_option.flag_no_backend = value;
- break;
-
case OPT_frange_check:
gfc_option.flag_range_check = value;
break;
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c
index aedf292..5aabbb4 100644
--- a/gcc/fortran/parse.c
+++ b/gcc/fortran/parse.c
@@ -3223,12 +3223,12 @@ loop:
if (s.state == COMP_MODULE)
{
gfc_dump_module (s.sym->name, errors_before == errors);
- if (errors == 0 && ! gfc_option.flag_no_backend)
+ if (errors == 0)
gfc_generate_module_code (gfc_current_ns);
}
else
{
- if (errors == 0 && ! gfc_option.flag_no_backend)
+ if (errors == 0)
gfc_generate_code (gfc_current_ns);
}