]> gcc.gnu.org Git - gcc.git/commit
common.opt: Split up -fisolate-erroneous-paths into -fisolate-erroneous-paths-derefer...
authorJeff Law <law@redhat.com>
Thu, 5 Dec 2013 03:18:18 +0000 (20:18 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 5 Dec 2013 03:18:18 +0000 (20:18 -0700)
commitae93744d3bca8ba3e54e6f48ec7d80593eb3d6d9
tree065fb58430d1417a0032a8917f79040a59ad7213
parent97d7fffaaf636dae8ece215661935482c854d5aa
common.opt: Split up -fisolate-erroneous-paths into -fisolate-erroneous-paths-dereference...

* common.opt: Split up -fisolate-erroneous-paths into
-fisolate-erroneous-paths-dereference and
-fisolate-erroneous-paths-attribute.
* invoke.texi: Corresponding changes.
* gimple.c (infer_nonnull_range):  Add and use new arguments
to control what kind of statements can be used to infer a
non-null range.
* gimple.h (infer_nonnull_range): Update prototype.
* tree-vrp.c (infer_value_range): Corresponding changes.
* opts.c (default_options_table): Update due to option split.
* gimple-ssa-isolate-paths.c: Fix trailing whitespace.
(find_implicit_erroneous_behaviour): Pass additional arguments
to infer_nonnull_range.
(find_explicit_erroneous_behaviour): Similarly.
(gate_isolate_erroneous_paths): Check both of the new
options.

testsuite/

* gcc.dg/pr38984.c: Use -fno-isolate-erroneous-paths-dereference.
* gcc.dg/tree-ssa/isolate-2.c: Explicitly turn on
-fisolate-erroneous-paths-attribute.
* gcc.dg/tree-ssa/isolate-4.c: Likewise.

From-SVN: r205689
12 files changed:
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/gimple-ssa-isolate-paths.c
gcc/gimple.c
gcc/gimple.h
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr38984.c
gcc/testsuite/gcc.dg/tree-ssa/isolate-2.c
gcc/testsuite/gcc.dg/tree-ssa/isolate-4.c
gcc/tree-vrp.c
This page took 0.057898 seconds and 5 git commands to generate.