Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.296
 
1.297
 
MAIN:ragge:20110805081440
 
trees.c
_>161161 {
 162162         NODE *p, *q;
 163163         int actions;
<>164 -        int opty;
  164+        int opty, n;
165165         struct symtab *sp = NULL; /* XXX gcc */
 166166         NODE *lr, *ll;
 167167 
     
 !
315315                 case GT:
 316316                         switch (o) {
 317317                         case EQ:
<>318 -                                l->n_lval = FLOAT_EQ(l->n_dcon, r->n_dcon);
  318+                                n = FLOAT_EQ(l->n_dcon, r->n_dcon);
319319                                 break;
 320320                         case NE:
<>321 -                                l->n_lval = FLOAT_NE(l->n_dcon, r->n_dcon);
  321+                                n = FLOAT_NE(l->n_dcon, r->n_dcon);
322322                                 break;
 323323                         case LE:
<>324 -                                l->n_lval = FLOAT_LE(l->n_dcon, r->n_dcon);
  324+                                n = FLOAT_LE(l->n_dcon, r->n_dcon);
325325                                 break;
 326326                         case LT:
<>327 -                                l->n_lval = FLOAT_LT(l->n_dcon, r->n_dcon);
  327+                                n = FLOAT_LT(l->n_dcon, r->n_dcon);
328328                                 break;
 329329                         case GE:
<>330 -                                l->n_lval = FLOAT_GE(l->n_dcon, r->n_dcon);
  330+                                n = FLOAT_GE(l->n_dcon, r->n_dcon);
331331                                 break;
 332332                         case GT:
<>333 -                                l->n_lval = FLOAT_GT(l->n_dcon, r->n_dcon);
  333+                                n = FLOAT_GT(l->n_dcon, r->n_dcon);
334334                                 break;
 335335                         }
 336336                         nfree(r);
<>337 -                        r = bcon(l->n_lval);
338337                         nfree(l);
<>339 -                        return r;
  338+                        return bcon(n);
340339                 }
 341340         }
 342341 #ifndef CC_DIV_0
     
 !
629628 putjops(NODE *p, void *arg)
 630629 {
 631630         if (p->n_op == COMOP && p->n_left->n_op == GOTO)
<>632 -                plabel(p->n_left->n_left->n_lval+1);
  631+                plabel((int)p->n_left->n_left->n_lval+1);
633632 }
 634633 
 635634 /*
     
 !
787786         p = buildtree(CBRANCH, p, q);
 788787         if (p->n_left->n_op == ICON) {
 789788                 if (p->n_left->n_lval != 0) {
<>790 -                        branch(q->n_lval); /* branch always */
  789+                        branch((int)q->n_lval); /* branch always */
791790                         reached = 0;
 792791                 }
 793792                 tfree(p);
     
 !
984983 #define NOTM(x) (~M(x))
 985984 #define SBIT(x) (1ULL << ((x)-1))
 986985 
<>987 -        sz = tsize(t, NULL, NULL);
  986+        sz = (int)tsize(t, NULL, NULL);
988987         r = v & M(sz);
 989988         if (!ISUNSIGNED(t) && (SBIT(sz) & r))
 990989                 r = r | NOTM(sz);
     
 !
12381237                                 s.sdf++;
 12391238                         }
 12401239                 }
<>1241 -                sz = tsize(p->n_type, p->n_df, p->n_ap);
  1240+                sz = (int)tsize(p->n_type, p->n_df, p->n_ap);
12421241                 p = buildtree(MUL, q, bcon(sz/SZCHAR));
 12431242         } else
 12441243                 p = (offcon(psize(p), p->n_type, p->n_df, p->n_ap));
     
 !
14921491 
 14931492         if (casgop(o)) {
 14941493                 if (r->n_op != ICON && tl < FLOAT && tr < FLOAT &&
<>1495 -                    DEUNSIGN(tl) < DEUNSIGN(tr))
  1494+                    DEUNSIGN(tl) < DEUNSIGN(tr) && o != CAST)
14961495                         warner(Wtruncate, tnames[tr], tnames[tl]);
 14971496                 p->n_right = makety(p->n_right, l->n_type, 0, 0, 0);
 14981497                 t = p->n_type = l->n_type;
     
 !
25032502                 /* Rewrite a field read operation */
 25042503                 fsz = UPKFSZ(p->n_rval);
 25052504                 foff = UPKFOFF(p->n_rval);
<>2506 -                tsz = tsize(p->n_left->n_type, 0, 0);
  2505+                tsz = (int)tsize(p->n_left->n_type, 0, 0);
25072506                 q = buildtree(ADDROF, p->n_left, NIL);
 25082507 
 25092508                 ct = t = p->n_type;
     
 !
25322531                 fsz = UPKFSZ(q->n_rval);
 25332532                 foff = UPKFOFF(q->n_rval);
 25342533                 t = q->n_left->n_type;
<>2535 -                tsz = tsize(t, 0, 0);
  2534+                tsz = (int)tsize(t, 0, 0);
<_25362535 #if TARGET_ENDIAN == TARGET_BE
 25372536                 foff = tsz - fsz - foff;
 25382537 #endif
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-31 00:55 +0100