[Patch, Fortran] PR 44430: [4.5/4.6 Regression] Infinite recursion with -fdump-parse-tree

Thomas Koenig tkoenig@netcologne.de
Mon Jun 7 18:04:00 GMT 2010


Hi Janus,

thanks for the quick response, and the patch!  Mikael already OK'd it,
just one comment:

> Also: Should I include a test case when committing this patch? And if
> yes, what should it look like? I haven't found any test cases for
> -fdump-parse-tree in the test suite . 

I would suggest

! { dg-options "-fdump-parse-tree" }

and, at the bottom,

! { dg-output ".*" }

which should match everything.  If the test case fails, it will time out
or die due to lack of memory, whatever comes first.

Note: This is untried ;-)

	Thomas



More information about the Fortran mailing list