On Wed, 20 Sep 2017, Nathan Sidwell wrote:
> > You can use the gcc_assert mentioned in the previous email on GCC
> > bootstrap/regtest to find examples. For me, the following example breaks
> > (no
> > command line flags needed, just bare 'cc1plus t.i'):
> >
> > struct
> > {
> >int a, b, c,
On 09/19/2017 06:07 AM, Alexander Monakov wrote:
On Tue, 19 Sep 2017, Nathan Sidwell wrote:
After recent changes, the member_name_cmp qsort comparator can indicate
A < B < A (i.e. lacks anti-commutativity) for distinct TYPE_DECL nodes
that have the same source location. If their order doesn't
On Tue, 19 Sep 2017, Nathan Sidwell wrote:
> > > > After recent changes, the member_name_cmp qsort comparator can indicate
> > > > A < B < A (i.e. lacks anti-commutativity) for distinct TYPE_DECL nodes
> > > > that have the same source location. If their order doesn't matter, the
> > > >
On 09/19/2017 07:25 AM, Alexander Monakov wrote:
On Tue, 19 Sep 2017, Nathan Sidwell wrote:
On 09/19/2017 07:06 AM, Alexander Monakov wrote:
Hi,
After recent changes, the member_name_cmp qsort comparator can indicate
A < B < A (i.e. lacks anti-commutativity) for distinct TYPE_DECL nodes
that
On Tue, 19 Sep 2017, Nathan Sidwell wrote:
> On 09/19/2017 07:06 AM, Alexander Monakov wrote:
> > Hi,
> >
> > After recent changes, the member_name_cmp qsort comparator can indicate
> > A < B < A (i.e. lacks anti-commutativity) for distinct TYPE_DECL nodes
> > that have the same source location.
On 09/19/2017 07:06 AM, Alexander Monakov wrote:
Hi,
After recent changes, the member_name_cmp qsort comparator can indicate
A < B < A (i.e. lacks anti-commutativity) for distinct TYPE_DECL nodes
that have the same source location. If their order doesn't matter, the
comparator should return 0.
Hi,
After recent changes, the member_name_cmp qsort comparator can indicate
A < B < A (i.e. lacks anti-commutativity) for distinct TYPE_DECL nodes
that have the same source location. If their order doesn't matter, the
comparator should return 0.
Invoking qsort with improper comparator at best