Commit 1ad2f450 by H.J. Lu

re PR middle-end/39701 (Revision 145846 caused many test failures)

2009-04-10  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/39701
	* common.opt (-fdelete-null-pointer-checks): Initialize to 1.

	* opts.c (decode_options): Don't set flag_delete_null_pointer_checks
	here.

	* doc/invoke.texi: Update -fdelete-null-pointer-checks.

From-SVN: r145937
parent 72b75d03
2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/39701
* common.opt (-fdelete-null-pointer-checks): Initialize to 1.
* opts.c (decode_options): Don't set flag_delete_null_pointer_checks
here.
* doc/invoke.texi: Update -fdelete-null-pointer-checks.
2009-04-10 Chao-ying Fu <fu@mips.com> 2009-04-10 Chao-ying Fu <fu@mips.com>
* doc/tm.texi (Instruction Output): Document * doc/tm.texi (Instruction Output): Document
......
...@@ -436,7 +436,7 @@ Common Report Var(flag_delayed_branch) Optimization ...@@ -436,7 +436,7 @@ Common Report Var(flag_delayed_branch) Optimization
Attempt to fill delay slots of branch instructions Attempt to fill delay slots of branch instructions
fdelete-null-pointer-checks fdelete-null-pointer-checks
Common Report Var(flag_delete_null_pointer_checks) Optimization Common Report Var(flag_delete_null_pointer_checks) Init(1) Optimization
Delete useless null pointer checks Delete useless null pointer checks
fdiagnostics-show-location= fdiagnostics-show-location=
......
...@@ -5898,7 +5898,7 @@ safely dereference null pointers. Use ...@@ -5898,7 +5898,7 @@ safely dereference null pointers. Use
@option{-fno-delete-null-pointer-checks} to disable this optimization @option{-fno-delete-null-pointer-checks} to disable this optimization
for programs which depend on that behavior. for programs which depend on that behavior.
Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}. Enabled by default.
@item -fexpensive-optimizations @item -fexpensive-optimizations
@opindex fexpensive-optimizations @opindex fexpensive-optimizations
......
...@@ -894,7 +894,6 @@ decode_options (unsigned int argc, const char **argv) ...@@ -894,7 +894,6 @@ decode_options (unsigned int argc, const char **argv)
flag_regmove = opt2; flag_regmove = opt2;
flag_strict_aliasing = opt2; flag_strict_aliasing = opt2;
flag_strict_overflow = opt2; flag_strict_overflow = opt2;
flag_delete_null_pointer_checks = opt2;
flag_reorder_blocks = opt2; flag_reorder_blocks = opt2;
flag_reorder_functions = opt2; flag_reorder_functions = opt2;
flag_tree_vrp = opt2; flag_tree_vrp = opt2;
......
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