Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.305
 
1.306
 
MAIN:ragge:20101229152535
 
pftn.c
_>142142 void
 143143 defid(NODE *q, int class)
 144144 {
<> 145+        struct attr *ap;
145146         struct symtab *p;
 146147         TWORD type, qual;
 147148         TWORD stp, stq;
     
 !
267268                 /* nothing special, just overwrite */
 268269                 p->sap = q->n_ap;
 269270         } else {
<>270 -                struct attr *ap;
271271                 for (ap = q->n_ap; ap; ap = ap->next) {
 272272                         if (ap->atype > ATTR_MAX)
 273273                                 p->sap = attr_add(p->sap, attr_dup(ap, 3));
     
 !
368368                 printf("        new entry made\n");
 369369 #endif
 370370         p->stype = type;
<> 371+        if ((ap = attr_find(q->n_ap, GCC_ATYP_MODE))) {
  372+                int u = ISUNSIGNED(p->stype);
  373+                p->stype = u ? ENUNSIGN(ap->iarg(0)) : ap->iarg(0);
  374+                if (p->stype != XTYPE) {
  375+                        for (ap = q->n_ap;
  376+                            ap->next->atype != ATTR_BASETYP; ap = ap->next)
  377+                                ;
  378+                        ap->next = MKAP(p->stype);
  379+                } else
  380+                        uerror("fix XTYPE basetyp");
  381+        }
<_371382         p->squal = qual;
 372383         p->sclass = (char)class;
 373384         p->slevel = (char)blevel;
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 00:25 +0200