This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for df problems, and and an ifcvt improvement


On 04/22/2010 12:25 PM, Paolo Bonzini wrote:
> Right.  It was even more broken before
> 
> 2009-11-08  Paolo Bonzini  <bonzini@gnu.org>
> 
>         * df-problems.c: Fix documentation for forward simulation of LR.
>         (df_simulate_one_insn_forwards): Use df_simulate_find_defs.
>         (df_simulate_finalize_forwards): Remove.
>         * df.h (df_simulate_finalize_forwards): Remove.

Looking at that patch, I can't make sense of your comment for
df_simulate_initialize_forwards.  Clearly the artificial defs at the top
must be set, not cleared, in the set of live regs?  The patch below
seems to fix a lot of failures on i686-linux with my peephole2 patch
also applied.

Maybe we don't even need to do anything at all if the DF_LIVE_IN bitmap
is correct?


Bernd

Attachment: df-setbit.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]