[RS6000] Don't be too clever with dg-do run and dg-do compile
Segher Boessenkool
segher@kernel.crashing.org
Thu Oct 29 20:40:26 GMT 2020
On Thu, Oct 29, 2020 at 09:09:13AM +1030, Alan Modra wrote:
> On Wed, Oct 28, 2020 at 12:16:00PM -0500, Segher Boessenkool wrote:
> > On Wed, Oct 28, 2020 at 09:20:56PM +1030, Alan Modra wrote:
> > > Otherwise some versions of dejagnu go ahead and run the vsx tests
> > > below when they should not. To best cope with older dejagnu, put
> > > "run" before "compile", the idea being that if the second dg-do always
> > > wins then that won't cause fails.
> >
> > If they are mutually exclusive, does the order still matter? (Just FMI.)
>
> Yes, it does. Older dejagnu takes the last action regardless of the
> target selector success. Newer dejagnu uses the last action of a line
> with a successful target selector.
>
> commit 569f8718b534a2cd9511a7d640352eb0126ff492
> Author: Dominik Vogt <vogt@linux.vnet.ibm.com>
> Date: Mon Mar 28 17:31:07 2016 +1100
>
> * dg.exp (dg-do): Do not change the previously selected action if
> a de-selected dg-do is encountered.
>
> Signed-off-by: Ben Elliston <bje@gnu.org>
So fixed in 1.6 and later. Thanks!
Segher
More information about the Gcc-patches
mailing list