re PR tree-optimization/93156 (abused nonnull attribute evokes new segfault in gcc...
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Jan 2020 10:05:14 +0000 (11:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Jan 2020 10:05:14 +0000 (11:05 +0100)
commitfb862fdfb53ecb189f8bd74b66de573a78045916
tree733c1ab99c29a45d7184f0131b1ae75029058b62
parentf26916c2acdda19e36e57fff97b296897ebcba76
re PR tree-optimization/93156 (abused nonnull attribute evokes new segfault in gcc 10 since Nov 4 commit, 0fb958ab8aa)

PR tree-optimization/93156
* tree-ssa-ccp.c (bit_value_binop): For x * x note that the second
least significant bit is always clear.

* gcc.dg/tree-ssa/pr93156.c: New test.

From-SVN: r279951
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr93156.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c