[fpc-pascal] alignment

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Apr 19 17:43:16 CEST 2006


On 19 apr 2006, at 12:13, Пётр Косаревский wrote:

> Win32, i386.
>
> In FPC 2.0.3 -Oa option is described as "<type>=<values>".
> This is hard to understand. What should -Oa=16 mean?

Nothing, since you are not giving a type.

> Probably, it could be better decribed.

The valid keywords are indeed not yet documented. Here are the  
possibilities (copy/paste from the compiler source):

           else if tok='JUMP' then
            b.jumpalign:=l
           else if tok='LOOP' then
            b.loopalign:=l
           else if tok='CONSTMIN' then
            b.constalignmin:=l
           else if tok='CONSTMAX' then
            b.constalignmax:=l
           else if tok='VARMIN' then
            b.varalignmin:=l
           else if tok='VARMAX' then
            b.varalignmax:=l
           else if tok='LOCALMIN' then
            b.localalignmin:=l
           else if tok='LOCALMAX' then
            b.localalignmax:=l
           else if tok='RECORDMIN' then
            b.recordalignmin:=l
           else if tok='RECORDMAX' then
            b.recordalignmax:=l


Jonas


More information about the fpc-pascal mailing list