This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running 32-bit testsuite on x86_64 - dg-skip-if help


On Tue, Jan 04, 2005 at 10:37:48AM -0800, Janis Johnson wrote:
> 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.

You can probably do this based on the global 'board'; I believe that is
different per multilib.

-- 
Daniel Jacobowitz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]