Re: PowerPC shrink-wrap support 0 of 3

2011-09-22 Thread Richard Henderson
On 09/22/2011 07:47 AM, Bernd Schmidt wrote: > dwarf2cfi should be able to figure this out. I'd need to see RTL dumps > to get an idea what's going on. Indeed. Please CC me, Alan. r~

Re: PowerPC shrink-wrap support 0 of 3

2011-09-22 Thread Bernd Schmidt
On 09/22/11 16:40, Alan Modra wrote: > The bootstrap breakage happens on libmudflap/mf-hooks1.c, compiling > __wrap_malloc. Eliding some detail, this function starts off as > > void *__wrap_malloc (size_t c) > { > if (__mf_starting_p) > return __real_malloc (c); > > The "if" is bb2, the si

Re: PowerPC shrink-wrap support 0 of 3

2011-09-22 Thread Alan Modra
On Thu, Sep 22, 2011 at 12:58:51AM +0930, Alan Modra wrote: > I spent a little time today looking at why shrink wrap is failing to > help on PowerPC, and it turns out that the optimization simply doesn't > trigger that often due to prologue clobbered regs. PowerPC uses r0 as > a temp in the prolog