[PATCH] PR fortran/36192 -- Check for valid BT_INTEGER
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Oct 26 16:12:00 GMT 2015
On Mon, Oct 26, 2015 at 03:43:37PM +0100, FX wrote:
> > Because the code issues two errors, one for each dimension.
>
> Then shouldn???t it be ???string.*string??? to match
> two occurences of the string, with some stuff (incl. newline) in the middle?
>
I don't know dejagnu well enough to know if some other regex pattern
would capture all 3 errors. I'm simply using the advice given on
the wiki: https://gcc.gnu.org/wiki/TestCaseWriting
If you have a better pattern, I'm more than willing to change the
testcase.
The point of the testcase isn't to see if 3 errors messages or even
1 error message is issued. The testcase demonstrates that the segfault
in F951 (caused by calling mpz_set with an invalid mpz_t) does not happen.
--
Steve
More information about the Fortran
mailing list