Commit 544ef5b5 by Bob Wilson Committed by Bob Wilson

xtensa.c (xtensa_va_arg): Fix compiler warning in previous change.

        * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
        in previous change.

From-SVN: r51704
parent 29123a37
2002-04-01 Bob Wilson <bob.wilson@acm.org> 2002-04-01 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
in previous change.
2002-04-01 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
......
...@@ -2503,6 +2503,7 @@ xtensa_va_arg (valist, type) ...@@ -2503,6 +2503,7 @@ xtensa_va_arg (valist, type)
array = gen_reg_rtx (Pmode); array = gen_reg_rtx (Pmode);
lab_over = NULL_RTX;
if (!MUST_PASS_IN_STACK (VOIDmode, type)) if (!MUST_PASS_IN_STACK (VOIDmode, type))
{ {
lab_false = gen_label_rtx (); lab_false = gen_label_rtx ();
...@@ -2551,7 +2552,7 @@ xtensa_va_arg (valist, type) ...@@ -2551,7 +2552,7 @@ xtensa_va_arg (valist, type)
if (r != array) if (r != array)
emit_move_insn (array, r); emit_move_insn (array, r);
if (!MUST_PASS_IN_STACK (VOIDmode, type)) if (lab_over != NULL_RTX)
emit_label (lab_over); emit_label (lab_over);
......
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