Re: [RFC] Replace some bitmaps with HARD_REG_SETs - second version

2011-07-26 Thread Dimitrios Apostolou
Bug found at last, it's in the following hunk, the ampersand in &exit_block_uses is wrong... :-@ @@ -3951,7 +3949,7 @@ df_get_exit_block_use_set (bitmap exit_b { rtx tmp = EH_RETURN_STACKADJ_RTX; if (tmp && REG_P (tmp)) - df_mark_reg (tmp, exit_block_uses); + df_

Re: [RFC] Replace some bitmaps with HARD_REG_SETs - second version

2011-07-25 Thread Dimitrios Apostolou
That was a bug, indeed, but unfortunately it wasn't the one causing the crash I posted earlier... Even after fixing it I get the same backtrace from gdb. So the petition "spot the bug" holds... Thanks, Dimitris

Re: [RFC] Replace some bitmaps with HARD_REG_SETs - second version

2011-07-25 Thread Steven Bosscher
On Mon, Jul 25, 2011 at 4:20 PM, Michael Matz wrote: > Hi, > > On Mon, 25 Jul 2011, Dimitrios Apostolou wrote: > >> Bug found, in df_mark_reg I need to iterate until regno + n, not n. The error >> is at the following hunk: >> >> --- gcc/df-scan.c       2011-02-02 20:08:06 + >> +++ gcc/df-scan.

Re: [RFC] Replace some bitmaps with HARD_REG_SETs - second version

2011-07-25 Thread Bernd Schmidt
On 07/25/11 16:20, Michael Matz wrote: > Hi, > > On Mon, 25 Jul 2011, Dimitrios Apostolou wrote: > >> Bug found, in df_mark_reg I need to iterate until regno + n, not n. The error >> is at the following hunk: >> >> --- gcc/df-scan.c 2011-02-02 20:08:06 + >> +++ gcc/df-scan.c 2011-

Re: [RFC] Replace some bitmaps with HARD_REG_SETs - second version

2011-07-25 Thread Michael Matz
Hi, On Mon, 25 Jul 2011, Dimitrios Apostolou wrote: > Bug found, in df_mark_reg I need to iterate until regno + n, not n. The error > is at the following hunk: > > --- gcc/df-scan.c 2011-02-02 20:08:06 + > +++ gcc/df-scan.c 2011-07-24 17:16:46 + > @@ -3713,35 +3717,40 @@ df_m

Re: [RFC] Replace some bitmaps with HARD_REG_SETs - second version

2011-07-25 Thread Dimitrios Apostolou
Bug found, in df_mark_reg I need to iterate until regno + n, not n. The error is at the following hunk: --- gcc/df-scan.c 2011-02-02 20:08:06 + +++ gcc/df-scan.c 2011-07-24 17:16:46 + @@ -3713,35 +3717,40 @@ df_mark_reg (rtx reg, void *vset) if (regno < FIRST_PSEUDO_REGIST