diff options
author | Geoff Keating <geoffk@cygnus.com> | 1999-08-18 10:43:26 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 1999-08-18 10:43:26 +0000 |
commit | 312f625598f2eed11718c43a649027bc760ef30a (patch) | |
tree | 4fb0b080db23c76c2853dadb847aff9aa64d9dc6 /gcc/gcc.texi | |
parent | 075ff1b238e01efca6c3a0dc6ddd82046fda4c5a (diff) | |
download | gcc-312f625598f2eed11718c43a649027bc760ef30a.zip gcc-312f625598f2eed11718c43a649027bc760ef30a.tar.gz gcc-312f625598f2eed11718c43a649027bc760ef30a.tar.bz2 |
cse.c (cse_insn): Call never_reached_warning when a jump is changed to be unconditional.
* cse.c (cse_insn): Call never_reached_warning when a jump is
changed to be unconditional.
* flags.h: Declare warn_notreached.
* flow.c (delete_block): Call never_reached_warning when
a block is deleted.
* jump.c (delete_barrier_successors): Call never_reached_warning
when we delete everything after a BARRIER.
(never_reached_warning): New function.
* rtl.h: Declare never_reached_warning.
* toplev.c (warn_notreached): New variable.
(lang_independent_options): Set warn_notreached
when -Wunreachable-code.
(compile_file): We need line numbers for -Wunreachable-code.
Also modify documentation to suit.
From-SVN: r28747
Diffstat (limited to 'gcc/gcc.texi')
-rw-r--r-- | gcc/gcc.texi | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/gcc.texi b/gcc/gcc.texi index 7f8fdfb..3494de4 100644 --- a/gcc/gcc.texi +++ b/gcc/gcc.texi @@ -1920,13 +1920,6 @@ Such assignments must be very common; warning about them would cause more annoyance than good. @item -Warning about unreachable code. - -It's very common to have unreachable code in machine-generated -programs. For example, this happens normally in some files of GNU C -itself. - -@item Warning when a non-void function value is ignored. Coming as I do from a Lisp background, I balk at the idea that there is |