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

            Bug ID: 67527
           Summary: io.h sanitizer complains on 1 << 31
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com
  Target Milestone: ---

In io.h:314

#define IOPARM_INQUIRE_HAS_FLAGS2       (1 << 31)

should be 

#define IOPARM_INQUIRE_HAS_FLAGS2       (1u<< 31)

to make the sanitizer happy.

Reply via email to