Re: Undefined behaviour in subr_hibernate.c

2016-08-31 Thread Mike Larkin
On Wed, Aug 31, 2016 at 10:47:50AM +0200, Michal Mazurek wrote: > Section "J.2 Undefined behavior" of n1570 includes: > * Pointers that do not point to the same aggregate or union (nor just > beyond the same array object) are compared using relational > operators (6.5.8). > > I think that's wh

Undefined behaviour in subr_hibernate.c

2016-08-31 Thread Michal Mazurek
Section "J.2 Undefined behavior" of n1570 includes: * Pointers that do not point to the same aggregate or union (nor just beyond the same array object) are compared using relational operators (6.5.8). I think that's what's happening when using RB trees in subr_hibernate.c. subr_pool.c fixes th