This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/83070] New: -Wsign-compare warning in eoshift0


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83070

            Bug ID: 83070
           Summary: -Wsign-compare warning in eoshift0
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jb at gcc dot gnu.org
  Target Milestone: ---

../../../trunk-git/libgfortran/intrinsics/eoshift0.c: In function ‘eoshift0’:
../../../trunk-git/libgfortran/intrinsics/eoshift0.c:119:11: warning:
comparison of integer expressions of different signedness: ‘index_type {aka
long int}’ and ‘size_t {aka long unsigned int}’ [-Wsign-compare]
    if (rs != r_ex)
           ^~
../../../trunk-git/libgfortran/intrinsics/eoshift0.c:125:11: warning:
comparison of integer expressions of different signedness: ‘index_type {aka
long int}’ and ‘size_t {aka long unsigned int}’ [-Wsign-compare]
    if (as != a_ex)
           ^~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]