GFortran testsuite problems with "dg-do compile"

Brooks Moses brooks.moses@codesourcery.com
Mon Dec 18 22:54:00 GMT 2006


Paul Thomas wrote:
> Brooks,
>> Is this the expected/desired behavior for "dg-do compile"?
>
> I had always thought so :-)

and Steve Kargl wrote in the "Fix PR 30235" thread on fortran@:
> 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.

Ok.  Thanks to you and Steve for the answer and explanation, and my 
apologies -- especially to Janis -- for the false alarm.

Elsewhere in the testsuite, I see that we have one "dg-do assemble" and 
one "dg-do link", which I presume will generate the object code and link 
it, respectively, yes?

- Brooks



More information about the Fortran mailing list