Re: bit_field_ref of constructor of vectors

2012-11-27 Thread Marc Glisse
On Tue, 27 Nov 2012, Marc Glisse wrote: On Tue, 27 Nov 2012, Richard Biener wrote: It passes bootstrap+testsuite. ... on x86_64-linux-gnu, sorry for the lack of precision (default languages, Xeon E5520, graphite enabled). [...] Boostrapped and tested on ... ? Ok if bootstrap / testing pa

Re: bit_field_ref of constructor of vectors

2012-11-27 Thread Marc Glisse
On Tue, 27 Nov 2012, Richard Biener wrote: On Mon, Nov 12, 2012 at 2:31 PM, Marc Glisse wrote: Hello, this patch lets us fold a bit_field_ref of a constructor even when the elements are vectors. Writing a testcase is not that convenient because of the lack of a dead code elimination pass afte

Re: bit_field_ref of constructor of vectors

2012-11-27 Thread Richard Biener
On Mon, Nov 12, 2012 at 2:31 PM, Marc Glisse wrote: > Hello, > > this patch lets us fold a bit_field_ref of a constructor even when the > elements are vectors. Writing a testcase is not that convenient because of > the lack of a dead code elimination pass after forwprop4 (RTL doesn't always > remo

bit_field_ref of constructor of vectors

2012-11-12 Thread Marc Glisse
Hello, this patch lets us fold a bit_field_ref of a constructor even when the elements are vectors. Writing a testcase is not that convenient because of the lack of a dead code elimination pass after forwprop4 (RTL doesn't always remove everything either), but I see a clear difference on this