This is the mail archive of the gcc-patches@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: [patch] PR18716 fix - adding a gfortran testcase question


On Thu, Dec 02, 2004 at 10:38:49PM +0000, Paul Brook wrote:
> On Thursday 02 December 2004 14:30, Dorit Naishlos wrote:
> > I committed the patch, but I wasn't sure how/where to add the new gfortran
> > testcase?
> >
> > Shall I create a new 'vect' directory under gfortran.dg, like the one under
> > gcc.dg, and copy over tree-vect.h and vect.exp from gcc.dg/vect?
> 
> Sounds ok to me. You'll have to figure out how you're going to deal with 
> tree-vect.h, including it directly obviously isn't an option! Fortran isn't 
> preprocessed by default, although you can enable it.
> 
> It should be possible to just do this test once, then skip all the vector 
> execute tests if it fails. I don't know if the infrastructure for this exists 
> though.

It sounds OK to me, too.

gcc.dg/vect/vect.exp checks for hardware support on the test system and
sets the default for tests as either "compile" or "run" based on that.
The only tests that really need the checks in tree-vec.h are those that
use "dg-do run" directly in order to specify a target list, but that
could be handled in a different way.

Janis


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