]> git.ipfire.org Git - thirdparty/gcc.git/commit
Don't set useless relations.
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 14 Oct 2022 18:31:02 +0000 (14:31 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Mon, 17 Oct 2022 13:13:55 +0000 (09:13 -0400)
commitfca529517484bf19098ca9efa77e95534086abdc
treeadf25f82f749101c6b449e6fdd0480a325608a78
parent612de72b0d2904b5a5a2b487ce4cb907c768a947
Don't set useless relations.

The oracle will not register nonssense/useless relations, class
value_relation shouldn't either.

* value-relation.cc (value_relation::dump): Change message.
* value-relation.h (value_relation::set_relation): If op1 is the
same as op2 do not create a relation.
gcc/value-relation.cc
gcc/value-relation.h