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: [PATCH] Fix bootstrap on i686 (PR middle-end/69542)


On 01/28/2016 12:17 PM, Jakub Jelinek wrote:
> The recent lra-remat.c change broke bootstrap for me on i686,
> with comparison failure on simplify-rtx.o.
> Below is a reduced testcase.  debug insns really should not affect
> remat decisions, before the recent changes set_bb_regs should be always a
> nop on debug insns (they don't change any registers, and don't have REG_DEAD
> notes).  But they could have subregs of multiword regs.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> 
> 2016-01-28  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR middle-end/69542
> 	* lra-remat.c (calculate_local_reg_remat_bb_data): Only consider
> 	non-debug insns.
> 
> 	* gcc.dg/torture/pr69542.c: New test.

Looks good to me.  Thanks.

Can you please apply to gcc-5-branch too, since I've
already applied the 69449 patch there.


r~


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