aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2002-10-20 19:18:30 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2002-10-20 19:18:30 +0000
commite03b71533d939139d9d42da9a3b412e7d3c07e07 (patch)
tree153a8167658fb941d4f223b05ede95b2d6163df6 /gcc/c-opts.c
parenteb0424da9d7f2680ba02986028842b920a429803 (diff)
downloadgcc-e03b71533d939139d9d42da9a3b412e7d3c07e07.zip
gcc-e03b71533d939139d9d42da9a3b412e7d3c07e07.tar.gz
gcc-e03b71533d939139d9d42da9a3b412e7d3c07e07.tar.bz2
re PR c/761 (Undocumented options, part 1)
PR c/761 * toplev.c (flag_unsafe_profile_arcs): Remove. (flag_bounded_pointers): Remove. (flag_bounds_check): Correct comments. (lang_independent_options): Remove -funsafe-profile-arcs and -fbounded-pointers. Correct -fbounds-check comments. * flags.h: Correct flag_schedule_interblock comments. (flag_bounded_pointers): Remove prototype. (flag_bounds_check): Correct comments. * c-opts.c (c_common_init_options): No need to mark flag_bounds_check as unspecified. (c_common_post_options): And no need to set it from flag_bounded_pointers if its still unspecified. * doc/invoke.texi: Fix some overfull hboxes in "make dvi". Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock, -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous, -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check. From-SVN: r58334
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index d0e8b8e..2de8faa 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -515,9 +515,6 @@ c_common_init_options (lang)
warn_pointer_arith = (lang == clk_cplusplus);
if (lang == clk_c)
warn_sign_compare = -1;
-
- /* Mark as "unspecified" (see c_common_post_options). */
- flag_bounds_check = -1;
}
/* Handle one command-line option in (argc, argv).
@@ -1374,10 +1371,6 @@ c_common_post_options ()
}
}
- /* If still "unspecified", make it match -fbounded-pointers. */
- if (flag_bounds_check == -1)
- flag_bounds_check = flag_bounded_pointers;
-
/* Special format checking options don't work without -Wformat; warn if
they are used. */
if (warn_format_y2k && !warn_format)