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

            Bug ID: 85681
           Summary: r259995 breaks bootstrap on x86_64-*-freebsd
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kargl at gcc dot gnu.org
  Target Milestone: ---

../../gcc/gcc/tree-ssa-loop-prefetch.c: In function 'bool
should_issue_prefetch_p(mem_ref*)':
../../gcc/gcc/tree-ssa-loop-prefetch.c:1010:54: error: comparison of integer
expressions of different signedness: 'long unsigned int' and 'int'
[-Werror=sign-compare]
       && absu_hwi (int_cst_value (ref->group->step)) <
PREFETCH_MINIMUM_STRIDE)
../../gcc/gcc/tree-ssa-loop-prefetch.c:1014:4: error: format '%d' expects
argument of type 'int', but argument 5 has type 'long int' [-Werror=format=]
    "Step for reference %u:%u (%d) is less than the mininum "
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "required stride of %d\n",
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    ref->group->uid, ref->uid, int_cst_value (ref->group->step),
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
gmake[3]: *** [Makefile:1110: tree-ssa-loop-prefetch.o] Error 1
gmake[3]: Leaving directory '/safe/sgk/gcc/obj/gcc'
gmake[2]: *** [Makefile:4662: all-stage2-gcc] Error 2
gmake[2]: Leaving directory '/safe/sgk/gcc/obj'

Reply via email to