re PR tree-optimization/82381 (internal compiler error: qsort checking failed)
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Oct 2017 07:52:26 +0000 (09:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Oct 2017 07:52:26 +0000 (09:52 +0200)
commit8a8e744eb2f8974501e73e92d5a698c48adf7d2a
treecb4ca464229d50c564e5a30a0ab52a06a2b2a2d2
parent5c38262d95bedc091083cc881d9e21cd1f215a9a
re PR tree-optimization/82381 (internal compiler error: qsort checking failed)

PR tree-optimization/82381
* tree-ssa-reassoc.c (sort_by_operand_rank): Check for different
oeN->rank first.  Return 1 or -1 if one op is SSA_NAME and the other
is not.

From-SVN: r253396
gcc/ChangeLog
gcc/tree-ssa-reassoc.c