diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-08-20 16:08:12 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2019-08-20 16:08:12 +0000 |
commit | 5ba5ad304a16644614c3ea143181682a94cb999e (patch) | |
tree | 0db5239bba8276ca24fbd65a202356daa26d2dae /gcc/function.c | |
parent | 529f304811542ca34030b0dc0a7621503998da66 (diff) | |
download | gcc-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/function.c')
-rw-r--r-- | gcc/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |