function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 20 Aug 2019 16:08:12 +0000 (16:08 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Tue, 20 Aug 2019 16:08:12 +0000 (16:08 +0000)
2019-08-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==.

From-SVN: r274751

gcc/ChangeLog
gcc/function.c

index ecb7c06507cb83e3c8f53ba07667ca34b0a9660a..7f0686b5efa853ed568e8ea8fb67d716e63eea05 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==.
+
 2019-08-20  Matthew Beliveau  <mbelivea@redhat.com>
 
        * tree-ssa-dse.c (dse_optimize_redundant_stores): Improved check to
index 4bc4052fb2db332e58ea126f04db42bde143e0ea..05241a36161b7d45760e4f9e9d822905f2b5e3f2 100644 (file)
@@ -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)