These are minor testsuite additions to the gfortran testsuite from
engineers at Codethink (Mark Doffman and Jim MacArthur).  I'm working
with Codethink to help identify what, if any, of their work is still
potentially relevant for our Fortran implementation.  These tests seem
like a no-brainer, particularly the tests for errors on ill-formed code.

There's 3 new tests for -fdec-static:

automatic_1.f90 is a simple execution test

automatic_repeat.f90 verifies that the front-end gives an error if
AUTOMATIC appears more than once for a variable.

automatic_save.f90 verifies that we give an error if we have SAVE and
AUTOMATIC for a variable.


And there's one new test for -fdec-structure.

vax_structure_1.f90 verifies that we get an error if we try to compare
fields within a structure that are of different types.

I'm taking the liberty of installing these tests onto the trunk.  But
just to be clear, I wouldn't take such liberties with the
front-end/runtime itself.

Tested on x86_64-linux-gnu.  Installing on the trunk.

Jeff

Reply via email to