Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.98
 
1.99
 
MAIN:ragge:20040502125750
 
trees.c
_>10851085         /* rules are:
 10861086                 if assignment, type of LHS
 10871087                 if any float or doubles, make double
<>1088 -                if any longs, make long
  1088+                if any longlongs, make long long
  1089+                else if any longs, make long
10891090                 otherwise, make int
 10901091                 if either operand is unsigned, the result is...
 10911092         */
     
 !
11081109                 t2 = DEUNSIGN(t2);
 11091110                 }
 11101111 
<>1111 -        if( ( t1 == CHAR || t1 == SHORT ) && o!= RETURN ) t1 = INT;
 1112 -        if( t2 == CHAR || t2 == SHORT ) t2 = INT;
  1112+        if ((t1 == CHAR || t1 == SHORT) && o!= RETURN)
  1113+                t1 = INT;
  1114+        if (t2 == CHAR || t2 == SHORT)
  1115+                t2 = INT;
11131116 
 11141117         if (t1 == FLOAT && t2 == FLOAT)
 11151118                 t = FLOAT;
 11161119         else if (t1 == DOUBLE || t2 == DOUBLE)
 11171120                 t = DOUBLE;
<>1118 -        else if (t1==LONG || t2==LONG)
 1119 -                t = LONG;
11201121         else if (t1==LONGLONG || t2 == LONGLONG)
 11211122                 t = LONGLONG;
<> 1123+        else if (t1==LONG || t2==LONG)
  1124+                t = LONG;
11221125         else
 11231126                 t = INT;
 11241127 
     
 !
11351138            from LONG to INT and ULONG to UNSIGNED */
 11361139 
 11371140 
<>1138 -        if( t != t1 ) p->n_left = makety( p->n_left, tu, 0, 0, MKSUE(tu));
  1141+        if (t != t1)
  1142+                p->n_left = makety( p->n_left, tu, 0, 0, MKSUE(tu));
11391143 
<>1140 -        if( t != t2 || o==CAST) p->n_right = makety( p->n_right, tu, 0, 0, MKSUE(tu));
  1144+        if (t != t2 || o==CAST)
  1145+                p->n_right = makety(p->n_right, tu, 0, 0, MKSUE(tu));
11411146 
 11421147         if( casgop(o) ){
 11431148                 p->n_type = p->n_left->n_type;
     
 !
20582063         if (p->n_op == CM) {
 20592064                 np = p->n_left;
 20602065                 p->n_op = FUNARG;
<>2061 -                p->n_type = np->n_type;
  2066+                p->n_type = p->n_right->n_type;
<_20622067                 p->n_left = p->n_right;
 20632068                 p->n_sue = MKSUE(p->n_type & BTMASK);
 20642069                 p->n_rval = tsz;
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-08-21 06:23 +0200