Make SRA qsort comparator transitive
authorMartin Jambor <mjambor@suse.cz>
Tue, 26 Sep 2017 17:15:29 +0000 (19:15 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 26 Sep 2017 17:15:29 +0000 (19:15 +0200)
commit973c150c2d564fbe077f14cb80c17da175c89323
tree8608b6c9baa1858a00c6b1d4c38c4a409a782802
parent5714abfff8a8b04cdd294bd9968bcc72924213ec
Make SRA qsort comparator transitive

2017-09-26  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (compare_access_positions): Put integral types first,
stabilize sorting of integral types, remove conditions putting
non-full-precision integers last.
(sort_and_splice_var_accesses): Disable scalarization if a
non-integert would be represented by a non-full-precision integer.

From-SVN: r253207
gcc/ChangeLog
gcc/tree-sra.c