[PATCH][4.1/4.2] Fix PR27260, fallout of fix for PR27095
Richard Guenther
richard.guenther@gmail.com
Wed Apr 26 13:49:00 GMT 2006
On 4/26/06, Alan Modra <amodra@bigpond.net.au> wrote:
> On Wed, Apr 26, 2006 at 09:15:58AM +0930, Alan Modra wrote:
> > 4.0 and up are much simplified due to ssa.
> > After much looking at code, I don't think we'll ever see a SAVE_EXPR in
> > the arg trees. expand_call seems to agree with my analysis, with
> > fix_unsafe_tree no longer needed.
>
> :ADDPATCH middle-end:
>
> Since we don't use the args twice here for anything, the
> builtin_save_expr's aren't needed and we can simplify the code quite a
> bit, in the process avoiding PR27260. Bootstrapped and regression
> tested powerpc-linux and powerpc64-linux.
>
> PR middle-end/27260
> * builtins.c (expand_builtin_memset): Don't use SAVE_EXPR on args
> or expand libcall here. Instead, just throw away rtl on failure.
Can you add the testcase please? And also add a testcase for PR27095?
Thanks,
Richard.
More information about the Gcc-patches
mailing list