On Mon, 22 Oct 2018 at 23:01, Thomas Koenig <tkoe...@netcologne.de> wrote:
> Anyway, the attached patch fixes this, plus the print *, instead > of test for return values, plus the whitespace issues mentioned > by Bernhard. Patch gzipped this time to let it go through to > gcc-patches. Thanks, The few remainin issues are: $ ./contrib/check_GNU_style.py /tmp/p15.diff === ERROR type #1: blocks of 8 spaces should be replaced with tabs (1 error(s)) === gcc/fortran/simplify.c:5667:17: dim_index -= 1;████████ /* zero-base index */ === ERROR type #2: dot, space, space, end of comment (1 error(s)) === gcc/fortran/simplify.c:5667:50: dim_index -= 1; /* zero-base index */ === ERROR type #3: dot, space, space, new sentence (3 error(s)) === gcc/fortran/check.c:3363:30:/* Check function for findloc.█Mostly like gfc_check_minloc_maxloc gcc/fortran/simplify.c:5604:32:/* Simplify findloc to an array.█Similar to gcc/fortran/simplify.c:5627:27: linked-list traversal.█Masked elements are set to NULL. */ === ERROR type #4: lines should not exceed 80 characters (196 error(s)) === gcc/fortran/check.c:159:80: gfc_error ("%qs argument of %qs intrinsic at %L must be of intrinsic type", gcc/fortran/intrinsic.c:728:80:add_sym_6fl (const char *name, gfc_isym_id id, enum klass cl, int actual_ok, bt type, gcc/fortran/simplify.c:5674:80: tmpstride[i] = (i == 0) ? 1 : tmpstride[i-1] * mpz_get_si (array->shape[i-1]); === ERROR type #6: trailing operator (1 error(s)) === gcc/fortran/iresolve.c:1873:25: f->value.function.name = (this wants ...function.name\n = gfc_get_string (... ) === ERROR type #7: trailing whitespace (2 error(s)) === gcc/fortran/check.c:3390:0:███ gcc/fortran/simplify.c:5794:10: else█ TIA,