Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.4
 
1.5
 
MAIN:ragge:20090524084331
 
local.c
_>357357                         l->n_lval = (unsigned)l->n_lval;
 358358                         goto delp;
 359359                 }
<>360 -                if (l->n_type < INT || l->n_type == LONGLONG ||
 361 -                    l->n_type == ULONGLONG) {
  360+                if (l->n_type < LONG) {
362361                         /* float etc? */
 363362                         p->n_left = block(SCONV, l, NIL,
 364363                             UNSIGNED, 0, MKSUE(UNSIGNED));
     
 !
388387         case SCONV:
 389388                 l = p->n_left;
 390389 
<> 390+                /* Float conversions may need extra casts */
  391+                if (p->n_type == FLOAT || p->n_type == DOUBLE) {
  392+                        if (l->n_type < INT) {
  393+                                p->n_left = block(SCONV, l, NIL,
  394+                                    ISUNSIGNED(l->n_type) ? UNSIGNED : INT,
  395+                                    l->n_df, l->n_sue);
  396+                                break;
  397+                        }
  398+                }
  399+
391400                 if (p->n_type == l->n_type) {
 392401                         nfree(p);
 393402                         return l;
     
 !
906915 ctype(TWORD type)
 907916 {
 908917         switch (BTYPE(type)) {
<>909 -        case LONG:
  918+        case LONGLONG:
910919                 MODTYPE(type,LONG);
 911920                 break;
 912921 
<>913 -        case ULONG:
  922+        case ULONGLONG:
914923                 MODTYPE(type,ULONG);
 915924 
 916925         }
     
 !
945954         off = tsize(sp->stype, sp->sdf, sp->ssue);
 946955         off = (off+(SZCHAR-1))/SZCHAR;
 947956         printf("        .%scomm ", sp->sclass == STATIC ? "l" : "");
<>948 -        if (sp->slevel == 0)
 949 -                printf("%s,0%o\n", exname(sp->soname), off);
 950 -        else
  957+        if (sp->slevel == 0) {
  958+                char *c = sp->soname ? sp->soname : exname(sp->sname);
  959+                printf("%s,0%o\n", c, off);
  960+        } else
<_951961                 printf(LABFMT ",0%o\n", sp->soffset, off);
 952962 }
 953963 
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-20 12:46 +0200