On Mon, May 2, 2016 at 9:24 AM, Jakub Jelinek <ja...@redhat.com> wrote: > On Fri, Apr 01, 2016 at 08:29:17PM +0200, Uros Bizjak wrote: >> > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for stage1 >> > (while the previous patch looks simple enough that I'd like to see it in >> > 6.x, this one IMHO can wait). >> >> Yes, please. This is not a regression. > > So, I'm reposting this patch now, bootstrapped/regtested again on > x86_64-linux and i686-linux, ok for trunk? > > Had to commit the ipa-pure-const.c fix first, because in va-arg-13.c > CSE with this patch optimized away the stores in the second va_start, > assuming the (incorrectly marked pure) function call would not modify > those. > > 2016-05-02 Jakub Jelinek <ja...@redhat.com> > > PR rtl-optimization/70467 > * cse.c (cse_insn): Handle no-op MEM moves after folding. > > * gcc.target/i386/pr70467-1.c: New test. >
This caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71532 H.J.