execute/990628-1.c regression

Geoff Keating geoffk@geoffk.org
Mon Jun 11 17:11:00 GMT 2001


Hi Mark,

> native gcc.sum gcc.c-torture/execute/990628-1.c

this seems to be caused by

2001-06-09  Mark Mitchell  <mark@codesourcery.com>

       * toplev.c (rest_of_compilation): Remove dead code before
       purge_addressof.

The problem is that a REG_WAS_0 note pointed to an insn which had been
deleted and so the pointer is NULL, and cse.c (around line 7488)
wasn't expecting that.

I suspect the right solution is to delete the note when the insn is
deleted, but it could also be that fixing cse would be correct.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-regression mailing list