On Wed, Jul 11, 2012 at 11:31 PM, Bernd Schmidt <ber...@codesourcery.com> wrote: > On 03/26/2012 06:03 PM, Andreas Schwab wrote: >> Bernd Schmidt <ber...@codesourcery.com> writes: >> >>> Does 4.7 still have the failure at all? >> >> Yes, see PR52573. > > Well, I still think having both REG_DEAD and REG_UNUSED for the same reg > is bogus, but fixing that causes trouble in reg-stack.
Oh? Before, during, or after reg-stack? IIRC reg-stack re-creates the notes from scratch for the stack registers. Is it possible to "filter" one of the notes (REG_DEAD or REG_UNUSED) out in add_reg_note? IMHO you're right that having both is bogus... Ciao! Steven