Commit ee79110c by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/86095 (documentation for -Wunsafe-loop-optimizations references…

re PR middle-end/86095 (documentation for -Wunsafe-loop-optimizations references options which have no effect any more)

	PR middle-end/86095
	* common.opt (Wunsafe-loop-optimizations): Add Ignore, remove Var,
	documented as preserved for backward compatibility only.
	* doc/invoke.texi: Remove -Wunsafe-loop-optimizations documentation.

From-SVN: r261679
parent 81e99446
2018-06-16 Jakub Jelinek <jakub@redhat.com> 2018-06-16 Jakub Jelinek <jakub@redhat.com>
PR middle-end/86095
* common.opt (Wunsafe-loop-optimizations): Add Ignore, remove Var,
documented as preserved for backward compatibility only.
* doc/invoke.texi: Remove -Wunsafe-loop-optimizations documentation.
PR rtl-optimization/86108 PR rtl-optimization/86108
* bb-reorder.c (create_forwarder_block): Renamed to ... * bb-reorder.c (create_forwarder_block): Renamed to ...
(create_eh_forwarder_block): ... this. Split OLD_BB after labels and (create_eh_forwarder_block): ... this. Split OLD_BB after labels and
......
...@@ -646,8 +646,8 @@ Common Var(warn_null_dereference) Warning ...@@ -646,8 +646,8 @@ Common Var(warn_null_dereference) Warning
Warn if dereferencing a NULL pointer may lead to erroneous or undefined behavior. Warn if dereferencing a NULL pointer may lead to erroneous or undefined behavior.
Wunsafe-loop-optimizations Wunsafe-loop-optimizations
Common Var(warn_unsafe_loop_optimizations) Warning Common Ignore Warning
Warn if the loop cannot be optimized due to nontrivial assumptions. Does nothing. Preserved for backward compatibility.
Wmissing-noreturn Wmissing-noreturn
Common Warning Alias(Wsuggest-attribute=noreturn) Common Warning Alias(Wsuggest-attribute=noreturn)
......
...@@ -323,7 +323,7 @@ Objective-C and Objective-C++ Dialects}. ...@@ -323,7 +323,7 @@ Objective-C and Objective-C++ Dialects}.
-Wswitch-unreachable -Wsync-nand @gol -Wswitch-unreachable -Wsync-nand @gol
-Wsystem-headers -Wtautological-compare -Wtrampolines -Wtrigraphs @gol -Wsystem-headers -Wtautological-compare -Wtrampolines -Wtrigraphs @gol
-Wtype-limits -Wundef @gol -Wtype-limits -Wundef @gol
-Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations @gol -Wuninitialized -Wunknown-pragmas @gol
-Wunsuffixed-float-constants -Wunused -Wunused-function @gol -Wunsuffixed-float-constants -Wunused -Wunused-function @gol
-Wunused-label -Wunused-local-typedefs -Wunused-macros @gol -Wunused-label -Wunused-local-typedefs -Wunused-macros @gol
-Wunused-parameter -Wno-unused-result @gol -Wunused-parameter -Wno-unused-result @gol
...@@ -6007,14 +6007,6 @@ If the stack usage is (partly) dynamic and not bounded, it's: ...@@ -6007,14 +6007,6 @@ If the stack usage is (partly) dynamic and not bounded, it's:
@end smallexample @end smallexample
@end itemize @end itemize
@item -Wunsafe-loop-optimizations
@opindex Wunsafe-loop-optimizations
@opindex Wno-unsafe-loop-optimizations
Warn if the loop cannot be optimized because the compiler cannot
assume anything on the bounds of the loop indices. With
@option{-funsafe-loop-optimizations} warn if the compiler makes
such assumptions.
@item -Wno-pedantic-ms-format @r{(MinGW targets only)} @item -Wno-pedantic-ms-format @r{(MinGW targets only)}
@opindex Wno-pedantic-ms-format @opindex Wno-pedantic-ms-format
@opindex Wpedantic-ms-format @opindex Wpedantic-ms-format
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