From: Bernd Edlinger Date: Tue, 20 Aug 2019 16:08:12 +0000 (+0000) Subject: function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ba5ad304a16644614c3ea143181682a94cb999e;p=gcc.git function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==. 2019-08-20 Bernd Edlinger * function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==. From-SVN: r274751 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecb7c06507c..7f0686b5efa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-08-20 Bernd Edlinger + + * function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==. + 2019-08-20 Matthew Beliveau * tree-ssa-dse.c (dse_optimize_redundant_stores): Improved check to diff --git a/gcc/function.c b/gcc/function.c index 4bc4052fb2d..05241a36161 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -2687,7 +2687,7 @@ assign_parm_find_stack_rtl (tree parm, struct assign_parm_data_one *data) stack slot boundary, take advantage of that excess alignment. Don't make any assumptions if STACK_POINTER_OFFSET is in use. */ if (poly_int_rtx_p (offset_rtx, &offset) - && STACK_POINTER_OFFSET == 0) + && known_eq (STACK_POINTER_OFFSET, 0)) { unsigned int offset_align = known_alignment (offset) * BITS_PER_UNIT; if (offset_align == 0 || offset_align > STACK_BOUNDARY)