This is the mail archive of the gcc-regression@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]

Re: flow.c:verify_local_live_at_start patch (Was: 1 GCC regressions, 1 new, with your patch on 2000-11-02T22:05:00Z)


On Fri, Nov 03, 2000 at 03:20:43AM +0000, Joern Rennecke wrote:
> This is a actually a flow bug.

This is not a flow bug, this is a combine bug.

> The combiner has combined two insn that use / set hard registers:

Ok, so combine should detect this case and do

                  SET_BIT (refresh_blocks, this_basic_block);
                  need_refresh = 1;

which will recompute global register life at
the end of the combine pass.

> 	* flow.c (verify_local_live_at_start): Allow hard regs to die.

Despite Geoff's ack, this patch is not ok.  This severely
weakens our ability to detect bugs elsewhere in the compiler.


r~

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