aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2019-08-20 16:08:12 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2019-08-20 16:08:12 +0000
commit5ba5ad304a16644614c3ea143181682a94cb999e (patch)
tree0db5239bba8276ca24fbd65a202356daa26d2dae /gcc
parent529f304811542ca34030b0dc0a7621503998da66 (diff)
downloadgcc-5ba5ad304a16644614c3ea143181682a94cb999e.zip
gcc-5ba5ad304a16644614c3ea143181682a94cb999e.tar.gz
gcc-5ba5ad304a16644614c3ea143181682a94cb999e.tar.bz2
function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==.
2019-08-20 Bernd Edlinger <bernd.edlinger@hotmail.de> * function.c (assign_parm_find_stack_rtl): Use known_eq instead of ==. From-SVN: r274751
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/function.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ecb7c065..7f0686b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/function.c b/gcc/function.c
index 4bc4052..05241a3 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)