diff options
author | Tristan Gingold | 2015-09-02 18:25:59 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-09-02 18:25:59 +0200 |
commit | 26af2bf1ad5f949e05d0e3ac560bbd22e41d7158 (patch) | |
tree | f6cb5bd691edb9fb30f720b854f35d10fcb718d0 /src/ortho/mcode | |
parent | 510ff8938793c0cc883bdf2a5f5adfdd95f77880 (diff) | |
download | ghdl-26af2bf1ad5f949e05d0e3ac560bbd22e41d7158.tar.gz ghdl-26af2bf1ad5f949e05d0e3ac560bbd22e41d7158.tar.bz2 ghdl-26af2bf1ad5f949e05d0e3ac560bbd22e41d7158.zip |
mcode: fix alignment of structure (thinko).
Diffstat (limited to 'src/ortho/mcode')
-rw-r--r-- | src/ortho/mcode/ortho_code-types.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ortho/mcode/ortho_code-types.adb b/src/ortho/mcode/ortho_code-types.adb index e0c070c..e5893aa 100644 --- a/src/ortho/mcode/ortho_code-types.adb +++ b/src/ortho/mcode/ortho_code-types.adb @@ -621,9 +621,9 @@ package body Ortho_Code.Types is (Elements : in out O_Element_List; Res : out O_Tnode) is begin + Tnodes.Table (Elements.Res).Align := Elements.Align; Tnodes.Table (Elements.Res).Size := Do_Align (Elements.Off, Elements.Res); - Tnodes.Table (Elements.Res).Align := Elements.Align; Tnodes.Table (Elements.Res + 1) := To_Tnode_Common (Tnode_Record'(Fields => Elements.First_Field, Nbr_Fields => Elements.Nbr)); |