Running 32-bit testsuite on x86_64 - dg-skip-if help
Janis Johnson
janis187@us.ibm.com
Tue Jan 4 18:45:00 GMT 2005
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
More information about the Gcc
mailing list