This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Running 32-bit testsuite on x86_64 - dg-skip-if help
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Andreas Jaeger <aj at suse dot de>, gcc at gcc dot gnu dot org, Janis Johnson <janis187 at us dot ibm dot com>
- Date: Tue, 4 Jan 2005 10:37:48 -0800
- Subject: Re: Running 32-bit testsuite on x86_64 - dg-skip-if help
- References: <m37jmtps2o.fsf@gromit.moeb> <20050104164540.GA10367@nevyn.them.org>
On Tue, Jan 04, 2005 at 11:45:42AM -0500, Daniel Jacobowitz wrote:
> On Tue, Jan 04, 2005 at 08:32:47AM +0100, Andreas Jaeger wrote:
> > Or should we use?
> >
> > /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
> > /* { dg-require-effective-target ilp32 } */
> >
> > What is better to do? The dg-require-effective-target compiles
> > another test program which might slow down the testsuite runs...
>
> Does it do that each time? I think it should only happen once per
> testsuite run. And it's a lot cleaner to read.
The program is run each time because the result can change between
multilib runs. I once played with a mechanism that would clear out
the cached value each time a new test directory was run; even better
would be clearing it out between multilib runs, but I didn't find a
place to do that.
If effective-target values are being used more frequently I'll take
another look at cachine their values.
Janis