mirror of git://gcc.gnu.org/git/gcc.git
PR 83070 Fix -Wsign-compare warning
2017-11-22 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/83070
* intrinsics/eoshift0.c (eoshift0): Fix -Wsign-compare warning by
making a_ex and r_ex index_type instead of size_t.
From-SVN: r255045
This commit is contained in:
parent
8f8e53262b
commit
9cf7bfd919
|
|
@ -1,3 +1,9 @@
|
||||||
|
2017-11-22 Janne Blomqvist <jb@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR libfortran/83070
|
||||||
|
* intrinsics/eoshift0.c (eoshift0): Fix -Wsign-compare warning by
|
||||||
|
making a_ex and r_ex index_type instead of size_t.
|
||||||
|
|
||||||
2017-11-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
2017-11-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||||
|
|
||||||
PR libgfortran/78549
|
PR libgfortran/78549
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ eoshift0 (gfc_array_char * ret, const gfc_array_char * array,
|
||||||
if (which > 0)
|
if (which > 0)
|
||||||
{
|
{
|
||||||
/* Test if both ret and array are contiguous. */
|
/* Test if both ret and array are contiguous. */
|
||||||
size_t r_ex, a_ex;
|
index_type r_ex, a_ex;
|
||||||
r_ex = 1;
|
r_ex = 1;
|
||||||
a_ex = 1;
|
a_ex = 1;
|
||||||
do_blocked = true;
|
do_blocked = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue