diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-05 13:27:23 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-05 13:27:23 +0000 |
commit | db5b2472c14114946acf355de056b70396bff658 (patch) | |
tree | 1681e2b619fe09244d98e6de2cc9728d6e8f20e5 /gcc/expr.c | |
parent | e2028bfacda6880292925ddc3273b9d4e29e48f1 (diff) | |
download | gcc-db5b2472c14114946acf355de056b70396bff658.tar.gz |
PR bootstrap/44756
* expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
comparing it to a signed value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index f29f6dc1244..e994f938b6f 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -3775,7 +3775,7 @@ emit_push_insn (rtx x, enum machine_mode mode, tree type, rtx size, || align >= BIGGEST_ALIGNMENT || (PUSH_ROUNDING (align / BITS_PER_UNIT) == (align / BITS_PER_UNIT))) - && PUSH_ROUNDING (INTVAL (size)) == INTVAL (size)) + && (HOST_WIDE_INT) PUSH_ROUNDING (INTVAL (size)) == INTVAL (size)) { /* Push padding now if padding above and stack grows down, or if padding below and stack grows up. |