* [PATCH, libgfortran, committed] PR 83070, fix -Wsign-compare warning
@ 2017-11-22 8:54 Janne Blomqvist
0 siblings, 0 replies; only message in thread
From: Janne Blomqvist @ 2017-11-22 8:54 UTC (permalink / raw)
To: GCC Patches, Fortran List
Hi,
committed the following patch as r255045, pre-approved in the PR:
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.
--- trunk/libgfortran/intrinsics/eoshift0.c 2017/11/22 08:47:47 255044
+++ trunk/libgfortran/intrinsics/eoshift0.c 2017/11/22 08:51:21 255045
@@ -107,7 +107,7 @@
if (which > 0)
{
/* Test if both ret and array are contiguous. */
- size_t r_ex, a_ex;
+ index_type r_ex, a_ex;
r_ex = 1;
a_ex = 1;
do_blocked = true;
--
Janne Blomqvist
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-22 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 8:54 [PATCH, libgfortran, committed] PR 83070, fix -Wsign-compare warning Janne Blomqvist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).