diff options
author | Tristan Gingold | 2014-12-23 07:00:21 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-12-23 07:00:21 +0100 |
commit | 28e674d71edf5c23419fde584ef2ea1228547e5b (patch) | |
tree | eb848cd6207773628d727f60befea3d3dc6371d3 /src/ortho/mcode/binary_file.adb | |
parent | e0b78cd20fb43c20db63d32e404ae9c4ff9b35f8 (diff) | |
download | ghdl-28e674d71edf5c23419fde584ef2ea1228547e5b.tar.gz ghdl-28e674d71edf5c23419fde584ef2ea1228547e5b.tar.bz2 ghdl-28e674d71edf5c23419fde584ef2ea1228547e5b.zip |
Add requested pragma no_strict_aliasing.
Diffstat (limited to 'src/ortho/mcode/binary_file.adb')
-rw-r--r-- | src/ortho/mcode/binary_file.adb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ortho/mcode/binary_file.adb b/src/ortho/mcode/binary_file.adb index 6043d73..a9463ba 100644 --- a/src/ortho/mcode/binary_file.adb +++ b/src/ortho/mcode/binary_file.adb @@ -31,8 +31,7 @@ package body Binary_File is (Source => System.Address, Target => Byte_Array_Acc); -- Resize a section to SIZE bytes. - procedure Resize (Sect : Section_Acc; Size : Pc_Type) - is + procedure Resize (Sect : Section_Acc; Size : Pc_Type) is begin Sect.Data_Max := Size; Memsegs.Resize (Sect.Seg, Natural (Size)); |