[patch, fortran] Fix PR 30235
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Dec 18 22:15:00 GMT 2006
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.
--
Steve
More information about the Fortran
mailing list