This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/6] gimple-ssa-store-merging.c: fix sort_by_bitpos
- From: Jeff Law <law at redhat dot com>
- To: Alexander Monakov <amonakov at ispras dot ru>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 Jul 2017 00:48:02 -0600
- Subject: Re: [PATCH 2/6] gimple-ssa-store-merging.c: fix sort_by_bitpos
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=law at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C45227AE81
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C45227AE81
- References: <20170715204749.24398-1-amonakov@ispras.ru> <20170715204749.24398-3-amonakov@ispras.ru>
On 07/15/2017 02:47 PM, Alexander Monakov wrote:
> This qsort comparator lacks anti-commutativity and can indicate
> A < B < A if A and B have the same bitpos. Return 0 in that case.
>
> * gimple-ssa-store-merging.c (sort_by_bitpos): Return 0 on equal bitpos.
OK.
jeff