Bernhard Reutner-Fischer
2018-09-25 10:24:09 UTC
Hi!
***@264126 JFYI
Would be nice if someone familiar with CAF could take a look at 2)
1)
fortran/gfortran.texi:2743: warning: @ref node name should not contain `:'
2)
libgfortran/caf/single.c:2813:57: warning: passing argument 3 of
‘_gfortran_caf_get_by_ref’ from incompatible pointer type
[-Wincompatible-pointer-types]
2813 | _gfortran_caf_get_by_ref (src_token, src_image_index, &temp, src_refs,
| ^~~~~
| |
| struct
<anonymous> *
libgfortran/caf/single.c:1544:24: note: expected ‘gfc_descriptor_t *’
{aka ‘struct <anonymous> *’} but argument is of type ‘struct
<anonymous> *’
1544 | gfc_descriptor_t *dst, caf_reference_t *refs,
| ~~~~~~~~~~~~~~~~~~^~~
libgfortran/caf/single.c:2820:58: warning: passing argument 3 of
‘_gfortran_caf_send_by_ref’ from incompatible pointer type
[-Wincompatible-pointer-types]
2820 | _gfortran_caf_send_by_ref (dst_token, dst_image_index, &temp, dst_refs,
| ^~~~~
| |
| struct
<anonymous> *
libgfortran/caf/single.c:2434:25: note: expected ‘gfc_descriptor_t *’
{aka ‘struct <anonymous> *’} but argument is of type ‘struct
<anonymous> *’
2434 | gfc_descriptor_t *src, caf_reference_t *refs,
| ~~~~~~~~~~~~~~~~~~^~~
3)
libgfortran/generated/minloc0_4_i1.c:138:5: warning: this ‘else’
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../../src/gcc-9.0.mine/libgfortran/generated/minloc0_4_i1.c:152:7:
note: ...this statement, but the latter is misleadingly indented as if
it were guarded by the ‘else’
152 | n = 0;
| ^
(likewise for the other expansion points, elided here)
4)
libgfortran/io/transfer.c:2451:35: warning: operand of ?: changes
signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due
to unsignedness of other operand [-Wsign-compare]
2451 | size = iotype == BT_CHARACTER ? (index_type) charlen :
GFC_DESCRIPTOR_SIZE (desc);
| ^~~~~~~~~~~~~~~~~~~~
***@264126 JFYI
Would be nice if someone familiar with CAF could take a look at 2)
1)
fortran/gfortran.texi:2743: warning: @ref node name should not contain `:'
2)
libgfortran/caf/single.c:2813:57: warning: passing argument 3 of
‘_gfortran_caf_get_by_ref’ from incompatible pointer type
[-Wincompatible-pointer-types]
2813 | _gfortran_caf_get_by_ref (src_token, src_image_index, &temp, src_refs,
| ^~~~~
| |
| struct
<anonymous> *
libgfortran/caf/single.c:1544:24: note: expected ‘gfc_descriptor_t *’
{aka ‘struct <anonymous> *’} but argument is of type ‘struct
<anonymous> *’
1544 | gfc_descriptor_t *dst, caf_reference_t *refs,
| ~~~~~~~~~~~~~~~~~~^~~
libgfortran/caf/single.c:2820:58: warning: passing argument 3 of
‘_gfortran_caf_send_by_ref’ from incompatible pointer type
[-Wincompatible-pointer-types]
2820 | _gfortran_caf_send_by_ref (dst_token, dst_image_index, &temp, dst_refs,
| ^~~~~
| |
| struct
<anonymous> *
libgfortran/caf/single.c:2434:25: note: expected ‘gfc_descriptor_t *’
{aka ‘struct <anonymous> *’} but argument is of type ‘struct
<anonymous> *’
2434 | gfc_descriptor_t *src, caf_reference_t *refs,
| ~~~~~~~~~~~~~~~~~~^~~
3)
libgfortran/generated/minloc0_4_i1.c:138:5: warning: this ‘else’
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../../src/gcc-9.0.mine/libgfortran/generated/minloc0_4_i1.c:152:7:
note: ...this statement, but the latter is misleadingly indented as if
it were guarded by the ‘else’
152 | n = 0;
| ^
(likewise for the other expansion points, elided here)
4)
libgfortran/io/transfer.c:2451:35: warning: operand of ?: changes
signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due
to unsignedness of other operand [-Wsign-compare]
2451 | size = iotype == BT_CHARACTER ? (index_type) charlen :
GFC_DESCRIPTOR_SIZE (desc);
| ^~~~~~~~~~~~~~~~~~~~