Commit 3e926b4d by Joern Rennecke Committed by Joern Rennecke

re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)

	PR bootstrap/44756
	* expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
	comparing it to a signed value.

From-SVN: r166360
parent c243beb0
...@@ -33,6 +33,10 @@ ...@@ -33,6 +33,10 @@
* config/pdp11/t-pdp11 (dwarf2out.o, java/constants.o): Undo last * config/pdp11/t-pdp11 (dwarf2out.o, java/constants.o): Undo last
change. Set $@-warn.o to -Wno-error. change. Set $@-warn.o to -Wno-error.
PR bootstrap/44756
* expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
comparing it to a signed value.
2010-11-05 Jakub Jelinek <jakub@redhat.com> 2010-11-05 Jakub Jelinek <jakub@redhat.com>
* cfgexpand.c (expand_debug_expr): Handle MEM_REF * cfgexpand.c (expand_debug_expr): Handle MEM_REF
...@@ -3775,7 +3775,7 @@ emit_push_insn (rtx x, enum machine_mode mode, tree type, rtx size, ...@@ -3775,7 +3775,7 @@ emit_push_insn (rtx x, enum machine_mode mode, tree type, rtx size,
|| align >= BIGGEST_ALIGNMENT || align >= BIGGEST_ALIGNMENT
|| (PUSH_ROUNDING (align / BITS_PER_UNIT) || (PUSH_ROUNDING (align / BITS_PER_UNIT)
== (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, /* Push padding now if padding above and stack grows down,
or if padding below and stack grows up. or if padding below and stack grows up.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment