OSDN Git Service

2004-06-04 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jun 2004 16:29:17 +0000 (16:29 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jun 2004 16:29:17 +0000 (16:29 +0000)
PR target/15822
* dojump.c (do_jump): Fix uninitialized variable tcode1.

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

gcc/ChangeLog
gcc/dojump.c

index b2bb26c..0f156c8 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-04  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR target/15822
+       * dojump.c (do_jump): Fix uninitialized variable tcode1.
+
 2004-06-04  Jerry Quinn  <jlquinn@optonline.net>
 
        * Makefile.in (insn-conditions.o): Back out removal of reload.h.
index c675628..dc3e574 100644 (file)
@@ -525,26 +525,31 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label)
 
     {
       enum rtx_code rcode1;
-      enum tree_code tcode1 = UNORDERED_EXPR, tcode2;
+      enum tree_code tcode1, tcode2;
 
       case UNLT_EXPR:
         rcode1 = UNLT;
+        tcode1 = UNORDERED_EXPR;
         tcode2 = LT_EXPR;
         goto unordered_bcc;
       case UNLE_EXPR:
         rcode1 = UNLE;
+        tcode1 = UNORDERED_EXPR;
         tcode2 = LE_EXPR;
         goto unordered_bcc;
       case UNGT_EXPR:
         rcode1 = UNGT;
+        tcode1 = UNORDERED_EXPR;
         tcode2 = GT_EXPR;
         goto unordered_bcc;
       case UNGE_EXPR:
         rcode1 = UNGE;
+        tcode1 = UNORDERED_EXPR;
         tcode2 = GE_EXPR;
         goto unordered_bcc;
       case UNEQ_EXPR:
         rcode1 = UNEQ;
+        tcode1 = UNORDERED_EXPR;
         tcode2 = EQ_EXPR;
         goto unordered_bcc;
       case LTGT_EXPR: