From: Iain Sandoe Date: Wed, 14 Nov 2018 12:34:27 +0000 (+0000) Subject: fix Darwin bootstrap. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b258173580ec8ed49c1655593531c9819e064730;p=gcc.git fix Darwin bootstrap. gcc/ * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Cast MAX_OFILE_ALIGNMENT as needed. From-SVN: r266138 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3b86595f20..d77ae3666db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-11-14 Iain Sandoe + + * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Cast + MAX_OFILE_ALIGNMENT as needed. + 2018-11-14 Richard Biener PR tree-optimization/88019 diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index 1cc0320f00d..deb7121623e 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -6335,7 +6335,8 @@ vect_can_force_dr_alignment_p (const_tree decl, poly_uint64 alignment) return false; if (TREE_STATIC (decl)) - return (known_le (alignment, MAX_OFILE_ALIGNMENT)); + return (known_le (alignment, + (unsigned HOST_WIDE_INT) MAX_OFILE_ALIGNMENT)); else return (known_le (alignment, (unsigned HOST_WIDE_INT) MAX_STACK_ALIGNMENT)); }