On Tue, Sep 12, 2017 at 10:00:44AM -0500, Segher Boessenkool wrote: > > --- gcc/testsuite/g++.dg/ext/altivec-18.C.jj 2017-09-08 > > 09:15:20.593774717 +0200 > > +++ gcc/testsuite/g++.dg/ext/altivec-18.C 2017-09-08 09:15:20.593774717 > > +0200 > > @@ -0,0 +1,14 @@ > > +// PR target/82112 > > +// { dg-do compile { target powerpc*-*-* } } > > +// { dg-require-effective-target powerpc_altivec_ok } > > +// { dg-options "-save-temps -maltivec" } > > What is this -save-temps for? Just a leftover?
It is not really needed, I've just copied/pasted those 3 lines from some other testcase (which probably used it uselessly as well). -save-temps can make sense for dg-do link/run testcases where somebody also wants to dg-final scan-assembler, or for the very rare case when actually the -save-temps behavior needs to be tested (using separate preprocessor etc.). Will fix. Jakub