On 24/05/2019 10:06, Christophe Lyon wrote:
On Thu, 23 May 2019 at 19:21, Steve Kargl
<s...@troutmask.apl.washington.edu> wrote:
On Thu, May 23, 2019 at 05:26:53PM +0200, Christophe Lyon wrote:
On Thu, 23 May 2019 at 15:54, Mark Eggleston
<mark.eggles...@codethink.co.uk> wrote:
The logs contain:
/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_1.f90:15:11:
Error: Kind 16 not supported for type REAL at (1)
Christophe
Apologies, I'd forgotten that kind=16 is not always defined. The
attached patch modifies the test cases to take this into account. I
currently have no means of verifying this.
Please confirm that this patch solves the problem.
I confirm this patch does fix the problem, thanks
Patch committed as r271573.
Hi,
Sorry, I didn't check all the testcases you changed, and this commit
introduces a new failure on arm:
/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:23:23:
Error: Nonnegative width required in format string at (1)
/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:26:23:
Error: Nonnegative width required in format string at (1)
/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:29:23:
Error: Nonnegative width required in format string at (1)
compiler exited with status 1
PASS: gfortran.dg/fmt_f_default_field_width_3.f90 -O (test for
errors, line 23)
PASS: gfortran.dg/fmt_f_default_field_width_3.f90 -O (test for
errors, line 26)
PASS: gfortran.dg/fmt_f_default_field_width_3.f90 -O (test for
errors, line 29)
FAIL: gfortran.dg/fmt_f_default_field_width_3.f90 -O (test for
errors, line 33)
PASS: gfortran.dg/fmt_f_default_field_width_3.f90 -O (test for excess errors)
that is, it seems there's no error message generated for line 33.
Christophe
There is no error for line 33 because it isn't included in the
compilation because __GFC_REAL_16__ isn't defined. DejaGnu doesn't know
this and the dg-warning directive for this line is still processed.
I don't know enough about DejaGnu directives to determine whether this
situation can be handled. Does anybody know how to deal with a line that
if compiled a warning message output and if not compiled there is no output?
Is the easiest solution to omit the test code where kind=16?
Mark
--
Steve
--
https://www.codethink.co.uk/privacy.html