Re: Predictive commoning leads to register to register moves through memory.

2015-09-18 Thread Richard Biener
On Thu, Sep 17, 2015 at 5:58 PM, Simon Dardis wrote: > I've since taken another look at this recently and I've tracked the issue > down to > tree-predcom.c, specifically ref_at_iteration almost always generating > MEM_REFs. > With MEM_REFs, GCC's RTL GCSE cannot compare them as equal and hence >

Re: ARM Linux EABI: unwinding through a segfault handler

2015-09-18 Thread Matthijs van Duin
I've managed to expand Paul's outline into working code. It's still incomplete but I can report success throwing an exception in a signal handler and catching it outside it. I didn't rebuild glibc but just linked some extra code to my executable. The I grabbed from glibc, the rest are system head

Re: Predictive commoning leads to register to register moves through memory.

2015-09-18 Thread Jeff Law
On 09/18/2015 03:13 AM, Richard Biener wrote: On Thu, Sep 17, 2015 at 5:58 PM, Simon Dardis wrote: I've since taken another look at this recently and I've tracked the issue down to tree-predcom.c, specifically ref_at_iteration almost always generating MEM_REFs. With MEM_REFs, GCC's RTL GCSE ca