[PATCH][4.7][RFC] Fix store-sinking, make returns have a VUSE

2011-03-09 Thread Richard Guenther
This old patch of mine makes the return statement of a function have a VUSE even if it does not return a value (or does not reference memory). This is to have a virtual operand chain for values that escape the function via returns. This allows to fix store-sinking to do its job again by simply

Re: [PATCH][4.7][RFC] Fix store-sinking, make returns have a VUSE

2011-03-09 Thread Diego Novillo
On Wed, Mar 9, 2011 at 10:26, Richard Guenther rguent...@suse.de wrote: I have just forward ported this patch to trunk and don't remember whether it caused any problems back when I originally worked on this (IIRC it was during stage3 of 4.5).  So, this is just a heads-up in case you have any