Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.161
 
1.162
 
MAIN:ragge:20120830194508
 
local.c
_>566566 #endif
 567567 
 568568         case PCONV:
<>569 -                /* Remove redundant PCONV's. Be careful */
570569                 l = p->n_left;
<>571 -                if (l->n_op == ICON) {
 572 -                        l->n_lval = (unsigned)l->n_lval;
 573 -                        goto delp;
 574 -                }
  570+
  571+                /* Make int type before pointer */
575572                 if (l->n_type < INT || l->n_type == LONGLONG ||
 576573                     l->n_type == ULONGLONG || l->n_type == BOOL) {
 577574                         /* float etc? */
<>578 -                        p->n_left = block(SCONV, l, NIL,
 579 -                            UNSIGNED, 0, 0);
 580 -                        break;
  575+                        p->n_left = block(SCONV, l, NIL, UNSIGNED, 0, 0);
581576                 }
<>582 -                /* if left is SCONV, cannot remove */
 583 -                if (l->n_op == SCONV)
 584 -                        break;
 585 -
 586 -                /* avoid ADDROF TEMP */
 587 -                if (l->n_op == ADDROF && l->n_left->n_op == TEMP)
 588 -                        break;
 589 -
590577                 break;
 591578 
<>592 -        delp:   l->n_type = p->n_type;
 593 -                l->n_qual = p->n_qual;
 594 -                l->n_df = p->n_df;
 595 -                l->n_ap = p->n_ap;
 596 -                nfree(p);
 597 -                p = l;
 598 -                break;
 599 -                
<_600579         case SCONV:
 601580                 if (p->n_left->n_op == COMOP)
 602581                         break/* may propagate wrong type later */
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-02 12:29 +0200