re PR target/15822 (Several alpha testsuite regressions: gcc.c-torture/execute/ieee...
authorPaolo Bonzini <bonzini@gnu.org>
Fri, 4 Jun 2004 16:29:17 +0000 (16:29 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Fri, 4 Jun 2004 16:29:17 +0000 (16:29 +0000)
2004-06-04  Paolo Bonzini  <bonzini@gnu.org>

PR target/15822
* dojump.c (do_jump): Fix uninitialized variable tcode1.

From-SVN: r82626

gcc/ChangeLog
gcc/dojump.c

index b2bb26c7f69084419856deda8cab6206ee3ea1ab..0f156c8113e625cf7674473f98aab614268d9d20 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 c6756281e64624119c0edcfb2e646f3efbf43271..dc3e574adc920973d52e920cfa56df61f01effa9 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: