This is the mail archive of the 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, fortran] Fix PR 30235

On Mon, Dec 18, 2006 at 01:21:52PM -0800, Brooks Moses wrote:
> Brooks Moses wrote:
> >Tested on i686_pc_linux_gnu; everything works, except that without the 
> >interface.c patch the failures on the new test don't seem to cycle 
> >through the -O1, O2, etc. flags like they should; instead I only get this:
> >
> >   FAIL: gfortran.dg/altreturn_2.f90  -O  (internal compiler error)
> >   FAIL: gfortran.dg/altreturn_2.f90  -O   (test for errors, line 3)
> >   FAIL: gfortran.dg/altreturn_2.f90  -O  (test for excess errors)
> >
> >Any idea what I'm missing?
> Update: All the gfortran-dg "dg-do compile" tests seem to be doing this, 
> so I don't think this is a problem with my patch, but with the testsuite.

It's my understanding the "dg-do compile" in the gfortran
testsuite should only run once.  It is normally used to 
test the (non)fix of a parser bug where code generation and
execution is irrelevant.  For example, if the testsuite contains

  start: do 
  end do     ! { dg-error "missing label" }

this only needs to run once.


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