Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.295
 
1.296
 
MAIN:ragge:20100912081847
 
pftn.c
_>19491949                 if (ISFTN(ap[j]->n_type))
 19501950                         ap[j]->n_type = INCREF(ap[j]->n_type);
 19511951                 ty = ap[j]->n_type;
<> 1952+#ifdef GCC_COMPAT
  1953+                if (ty == UNIONTY &&
  1954+                    attr_find(ap[j]->n_ap, GCC_ATYP_TRANSP_UNION)){
  1955+                        /* transparent unions must have compatible types
  1956+                         * shortcut here: if pointers, set void *,
  1957+                         * otherwise btype.
  1958+                         */
  1959+                        struct symtab *sp = strmemb(ap[j]->n_ap);
  1960+                        ty = ISPTR(sp->stype) ? PTR|VOID : sp->stype;
  1961+                }
  1962+#endif
<_19521963                 al[k++].type = ty;
 19531964                 if (BTYPE(ty) == STRTY || BTYPE(ty) == UNIONTY)
 19541965                         al[k++].sap = ap[j]->n_ap;
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-23 04:44 +0100