Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.70
 
1.71
 
MAIN:ragge:20030803171121
 
trees.c
_>136136                 case COMPL:
 137137                         if( conval( l, o, l ) ) return(l);
 138138                         break;
<>139 -
140139                 }
<> 140+        } else if (o == NOT && l->n_op == FCON) {
  141+                l = clocal(block(SCONV, l, NIL, INT, 0, MKSUE(INT)));
141142         } else if( o == UNARY MINUS && l->n_op == FCON ){
<>142 -                        if( l->n_type == FLOAT )
 143 -                                l->n_fcon = -l->n_fcon;
 144 -                        else
 145 -                                l->n_dcon = -l->n_dcon;
  143+                        l->n_dcon = -l->n_dcon;
146144                         return(l);
 147145 
 148146         } else if( o==QUEST && l->n_op==ICON ) {
     
 !
207205                 case DIV:
 208206                         if (l->n_op == ICON)
 209207                                 l->n_dcon = l->n_lval;
<>210 -                        else if (l->n_type == FLOAT)
 211 -                                l->n_dcon = l->n_fcon;
212208                         if (r->n_op == ICON)
 213209                                 r->n_dcon = r->n_lval;
<>214 -                        else if (r->n_type == FLOAT)
 215 -                                r->n_dcon = r->n_fcon;
216210                         switch (o) {
 217211                         case PLUS:
 218212                                 l->n_dcon += r->n_dcon; break;
     
 !
10831077         if( ( t1 == CHAR || t1 == SHORT ) && o!= RETURN ) t1 = INT;
 10841078         if( t2 == CHAR || t2 == SHORT ) t2 = INT;
 10851079 
<>1086 -#if 0
 1087 -        if (t1 == DOUBLE || t1 == FLOAT || t2 == DOUBLE || t2 == FLOAT)
 1088 -                t = DOUBLE;
 1089 -#else
10901080         if (t1 == FLOAT && t2 == FLOAT)
 10911081                 t = FLOAT;
 10921082         else if (t1 == DOUBLE || t2 == DOUBLE)
 10931083                 t = DOUBLE;
<>1094 -#endif
10951084         else if (t1==LONG || t2==LONG)
 10961085                 t = LONG;
 10971086         else if (t1==LONGLONG || t2 == LONGLONG)
     
 !
12821271 
 12831272         case UNARY AND:
 12841273                 return( NCVT+OTHER );
<> 1274+        case NOT:
12851275         case INIT:
 12861276         case CM:
<>1287 -        case NOT:
12881277         case CBRANCH:
 12891278         case ANDAND:
 12901279         case OROR:
     
 !
14181407         case SHORT:
 14191408         case UCHAR:
 14201409         case USHORT:
<>1421 -                return( MINT|MPTI|MDBI );
14221410         case UNSIGNED:
 14231411         case ULONG:
 14241412         case ULONGLONG:
     
 !
14281416                 return( MINT|MDBI|MPTI );
 14291417         case FLOAT:
 14301418         case DOUBLE:
<> 1419+        case LDOUBLE:
<_14311420                 return( MDBI );
 14321421         default:
 14331422                 return( MPTR|MPTI );
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-09-22 06:14 +0200