Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.299
 
1.300
 
MAIN:ragge:20110812132405
 
trees.c
_>28612861 pprop(NODE *p, TWORD t, struct attr *ap)
 28622862 {
 28632863         int o = p->n_op;
<> 2864+        TWORD t2;
28642865 
 28652866 #ifdef PCC_DEBUG
 28662867         if (p->n_op == TEMP && p->n_type != t &&
     
 !
28762877                 t = INCREF(t);
 28772878                 break;
 28782879         case ADDROF:
<> 2880+                t2 = p->n_left->n_type;
28792881                 if (p->n_left->n_op == TEMP) {
 28802882                         /* Will be converted to memory in pass2 */
<>2881 -                        p->n_left->n_type = DECREF(t);
  2883+                        if (!ISPTR(t2) && DECREF(t) != t2)
  2884+                                ; /* XXX cannot convert this */
  2885+                        else
  2886+                                p->n_left->n_type = DECREF(t);
28822887                         return p;
 28832888                 }
<>2884 -                if (ISPTR(p->n_left->n_type) && !ISPTR(DECREF(t)))
  2889+                if (ISPTR(t2) && !ISPTR(DECREF(t)))
<_28852890                         break; /* not quite correct */
 28862891                 t = DECREF(t);
 28872892                 break;
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-01 09:51 +0200