Re: [PATCH 3/9] dce: Don't dead-code delete separately wrapped restores

2016-09-09 Thread Jeff Law
On 09/09/2016 09:51 AM, Segher Boessenkool wrote: On Thu, Sep 08, 2016 at 11:50:56AM -0600, Jeff Law wrote: On 07/31/2016 07:42 PM, Segher Boessenkool wrote: Deleting restores (before a noreturn) that are dead confuses dwarf2cfi. 2016-06-07 Segher Boessenkool * dce.c (delete_unmark

Re: [PATCH 3/9] dce: Don't dead-code delete separately wrapped restores

2016-09-09 Thread Segher Boessenkool
On Thu, Sep 08, 2016 at 11:50:56AM -0600, Jeff Law wrote: > On 07/31/2016 07:42 PM, Segher Boessenkool wrote: > >Deleting restores (before a noreturn) that are dead confuses dwarf2cfi. > > > >2016-06-07 Segher Boessenkool > > > > * dce.c (delete_unmarked_insns): Don't delete instructions wit

Re: [PATCH 3/9] dce: Don't dead-code delete separately wrapped restores

2016-09-08 Thread Jeff Law
On 07/31/2016 07:42 PM, Segher Boessenkool wrote: Deleting restores (before a noreturn) that are dead confuses dwarf2cfi. 2016-06-07 Segher Boessenkool * dce.c (delete_unmarked_insns): Don't delete instructions with a REG_CFA_RESTORE note. I don't really understand this one.

[PATCH 3/9] dce: Don't dead-code delete separately wrapped restores

2016-07-31 Thread Segher Boessenkool
Deleting restores (before a noreturn) that are dead confuses dwarf2cfi. 2016-06-07 Segher Boessenkool * dce.c (delete_unmarked_insns): Don't delete instructions with a REG_CFA_RESTORE note. --- gcc/dce.c | 9 + 1 file changed, 9 insertions(+) diff --git a/gcc/dce.c b/

[PATCH 3/9] dce: Don't dead-code delete separately wrapped restores

2016-06-07 Thread Segher Boessenkool
Deleting restores (before a noreturn) that are dead confuses dwarf2cfi. 2016-06-07 Segher Boessenkool * dce.c (delete_unmarked_insns): Don't delete instructions with a REG_CFA_RESTORE note. --- gcc/dce.c | 9 + 1 file changed, 9 insertions(+) diff --git a/gcc/dce.c