Re: Initial shrink-wrapping patch

2011-10-05 Thread Ian Lance Taylor
Bernd Schmidt writes: > This appears to be because the split prologue contains a jump, which > means the find_many_sub_blocks call reorders the block numbers, and our > indices into bb_flags are off. > > I'm testing the following patch, but it won't finish today - feel free > to test and check it

Re: Fix pr50607 bconstp-3.c failure

2011-10-05 Thread Hans-Peter Nilsson
On Thu, 6 Oct 2011, Artem Shinkarov wrote: > On Thu, Oct 6, 2011 at 3:27 AM, Hans-Peter Nilsson wrote: > > Write that changelog entry as: > > > >        PR middle-end/50607 > >        * c-tree.h (c_expr_t): New typedef for struct c_expr. > >        (C_EXPR_APPEND): New macro. > >        * c-parser

[PATCH] Add support for lzd and popc instructions on sparc.

2011-10-05 Thread David Miller
Unfortunately, only 64-bit versions of popc and lzd exist, so I have to play some shenanigans to make SImode and v8plus cases work. But it's definitely worth it. I plan to tweak this stuff and perhaps also add some explicit ffs patterns as well later. There are only two sets of VIS3 instruction

Re: [PATCH] Fix memory leak in vect_pattern_recog_1

2011-10-05 Thread Ira Rosen
On 5 October 2011 20:06, Jakub Jelinek wrote: > Hi! > > If vect_recog_func fails (or the other spot where vect_pattern_recog_1 > returns early), the vector allocated in the function isn't freed, leading > to memory leak.  But, more importantly, doing a VEC_alloc + VEC_free > num_stmts_in_loop * NU

<    1   2