]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
xtensa.c (xtensa_va_arg): Fix compiler warning in previous change.
authorBob Wilson <bob.wilson@acm.org>
Mon, 1 Apr 2002 20:07:21 +0000 (20:07 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Mon, 1 Apr 2002 20:07:21 +0000 (20:07 +0000)
        * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
        in previous change.

From-SVN: r51704

gcc/ChangeLog
gcc/config/xtensa/xtensa.c

index fa98fbbf0cdd7fc81660beadd28e26afacf68282..b9b882cea246cf8681bcff3e49b49f0efb3187d7 100644 (file)
@@ -1,3 +1,8 @@
+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
index c6bc9590ea270b5500158009d55bb66488ec8772..6b80602c367b042c1266871f8c090f8a5881f3c3 100644 (file)
@@ -2503,6 +2503,7 @@ xtensa_va_arg (valist, type)
 
   array = gen_reg_rtx (Pmode);
 
+  lab_over = NULL_RTX;
   if (!MUST_PASS_IN_STACK (VOIDmode, type))
     {
       lab_false = gen_label_rtx ();
@@ -2551,7 +2552,7 @@ xtensa_va_arg (valist, type)
   if (r != array)
     emit_move_insn (array, r);
 
-  if (!MUST_PASS_IN_STACK (VOIDmode, type))
+  if (lab_over != NULL_RTX)
     emit_label (lab_over);