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

2016-09-26 Thread Jeff Law
On 09/23/2016 02:21 AM, Segher Boessenkool wrote: If there is a separately wrapped register restore on some path that is dead (say, control goes into an endless loop after it), then we cannot delete that restore because that would confuse the DWARF CFI (if there is another path joining after

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

2016-09-23 Thread Segher Boessenkool
If there is a separately wrapped register restore on some path that is dead (say, control goes into an endless loop after it), then we cannot delete that restore because that would confuse the DWARF CFI (if there is another path joining after this). This happens with gcc.dg/torture/pr53168.c, for