Re: [PATCH] df: Don't abuse bb->aux (PR94148)

2020-03-13 Thread Segher Boessenkool
On Fri, Mar 13, 2020 at 07:30:17AM +0100, Richard Biener wrote: > On March 12, 2020 11:29:45 PM GMT+01:00, Segher Boessenkool > wrote: > >The df dataflow solvers use the aux field in the basic_block struct, > >although that is reserved for any use by passes. And not only that, > >it is required

Re: [PATCH] df: Don't abuse bb->aux (PR94148)

2020-03-13 Thread Richard Biener via Gcc-patches
On March 12, 2020 11:29:45 PM GMT+01:00, Segher Boessenkool wrote: >The df dataflow solvers use the aux field in the basic_block struct, >although that is reserved for any use by passes. And not only that, >it is required that you set all such fields to NULL before calling >the solvers, or you

Re: [PATCH] df: Don't abuse bb->aux (PR94148)

2020-03-12 Thread Segher Boessenkool
Hi, On Thu, Mar 12, 2020 at 10:29:45PM +, Segher Boessenkool wrote: > The df dataflow solvers use the aux field in the basic_block struct, > although that is reserved for any use by passes. And not only that, > it is required that you set all such fields to NULL before calling > the solvers,

[PATCH] df: Don't abuse bb->aux (PR94148)

2020-03-12 Thread Segher Boessenkool
The df dataflow solvers use the aux field in the basic_block struct, although that is reserved for any use by passes. And not only that, it is required that you set all such fields to NULL before calling the solvers, or you quietly get wrong results. This changes the solvers to use a local array