]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make transitive relations an oracle option
authorAndrew MacLeod <amacleod@redhat.com>
Mon, 24 Jun 2024 14:29:06 +0000 (10:29 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Tue, 25 Jun 2024 02:14:48 +0000 (22:14 -0400)
commit4c8b085820f057d1397d91c1ed1c20bed09eb054
treed9ac802ab0a85a19dff2aad6bd5c0d8dbc4a9b27
parentc3be325dd165edbe6b1570f54015b3ea8a43862b
Make transitive relations an oracle option

This patch makes processing of transitive relations configurable at
dom_oracle creation.

* tree-vrp.cc (execute_fast_vrp): Do not use transitive relations.
* value-query.cc (range_query::create_relation_oracle): Add
parameter to enable transitive relations.
* value-query.h (range_query::create_relation_oracle): Likewise.
* value-relation.h (dom_oracle::dom_oracle): Likewise.
* value-relation.cc (dom_oracle::dom_oracle): Likewise.
(dom_oracle::register_transitives): Check transitive flag.
gcc/tree-vrp.cc
gcc/value-query.cc
gcc/value-query.h
gcc/value-relation.cc
gcc/value-relation.h