Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.224
 
1.225
 
MAIN:ragge:20081021093547
 
pftn.c
_>756756                         } else
 757757                                 uerror("%s redeclared", name);
 758758                 }
<>759 -                sp->ssue->suealign = ALSTRUCT;
760759         } else
 761760                 sp = NULL;
 762761 
     
 !
789788                 sue = permalloc(sizeof(struct suedef));
 790789                 suedefcnt++;
 791790                 sue->suesize = 0;
<>792 -                sue->suealign = ALSTRUCT;
793791         } else
 794792                 sue = r->rsym->ssue;
<> 793+#ifndef ALSTRUCT
  794+        if (sue->suealign != 0)
  795+                cerror("dclstruct");
  796+        /* Calculate largest alignment of struct elements */
  797+        /* Should be combined with the stuff below */
  798+        for (al = 1, sp = r->rb; sp; sp = sp->snext)
  799+                if ((sa = talign(sp->stype, sp->ssue)) > al)
  800+                        al = sa;
  801+        sue->suealign = al;
  802+#else
795803         if (sue->suealign == 0/* suealign == 0 is undeclared struct */
 796804                 sue->suealign = ALSTRUCT;
<> 805+        al = ALSTRUCT;
  806+#endif
797807 
 798808         temp = r->rsou == STNAME ? STRTY : UNIONTY;
<>799 -        al = ALSTRUCT;
<_800809 
 801810         coff = 0;
 802811         if (pragma_packed || pragma_aligned)
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-29 16:04 +0200