On Fri, 23 Jun 2017, Marc Glisse wrote: > On Fri, 23 Jun 2017, Richard Biener wrote: > > > The vectorizer is confused about the spurious VDEFs that are caused > > by gather vectorization so the following avoids them by making the > > builtins pure appropriately. > > > > Bootstrap / regtest pending on x86_64-unknown-linux-gnu, ok for > > trunk and branch? > > > > Thanks, > > Richard. > > > > 2017-06-23 Richard Biener <rguent...@suse.de> > > > > PR target/81175 > > * config/i386/i386.c (struct builtin_isa): Add pure_p member. > > (def_builtin2): Initialize pure_p. > > (ix86_add_new_builtins): Honor pure_p. > > (def_builtin_pure): New function. > > If you svn update (or equivalent), you will notice that the above is already > available ;-)
Sorry, that was the GCC 7 variant of the patch ... just scrap the already available pieces for trunk ;) Richard.