OSDN Git Service

* config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Apr 2002 20:07:21 +0000 (20:07 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Apr 2002 20:07:21 +0000 (20:07 +0000)
        in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51704 138bc75d-0d04-0410-961f-82ee72b054a4

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

index fa98fbb..b9b882c 100644 (file)
@@ -1,5 +1,10 @@
 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
        for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
 
index c6bc959..6b80602 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);