re PR middle-end/67512 (internal compiler error: in invert_tree_comparison, at fold...
authorMarek Polacek <polacek@redhat.com>
Wed, 9 Sep 2015 17:09:32 +0000 (17:09 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 9 Sep 2015 17:09:32 +0000 (17:09 +0000)
commitc27348aaa59599eefacd930aba1a56978ca95281
treedc75de5dbb8e23bf8634a5333e69c16632f5cf7b
parent273aa49e2fe00de54cb1dbe67f1a6155fb47439b
re PR middle-end/67512 (internal compiler error: in invert_tree_comparison, at fold-const.c:2456)

PR middle-end/67512
* tree-ssa-uninit.c (pred_equal_p): Only call invert_tree_comparison
for comparisons.

* gcc.dg/pr67512.c: New test.

From-SVN: r227594
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr67512.c [new file with mode: 0644]
gcc/tree-ssa-uninit.c