mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:29:14 +02:00
- removed internalerror in case a subsetref value is loaded on a cpu
which requires proper alignment (they have to support unaligned accesses in their a_load_*_* routines) git-svn-id: trunk@9346 -
This commit is contained in:
parent
31764a0e3b
commit
bc545b077f
@ -1185,14 +1185,6 @@ implementation
|
|||||||
begin
|
begin
|
||||||
intloadsize := packedbitsloadsize(sref.bitlen);
|
intloadsize := packedbitsloadsize(sref.bitlen);
|
||||||
|
|
||||||
{$if not(defined(arm)) and not(defined(sparc))}
|
|
||||||
{ may need to be split into several smaller loads/stores }
|
|
||||||
if (tf_requires_proper_alignment in target_info.flags) and
|
|
||||||
(intloadsize <> 1) and
|
|
||||||
(intloadsize <> sref.ref.alignment) then
|
|
||||||
internalerror(2006082011);
|
|
||||||
{$endif not(defined(arm)) and not(defined(sparc))}
|
|
||||||
|
|
||||||
if (intloadsize = 0) then
|
if (intloadsize = 0) then
|
||||||
internalerror(2006081310);
|
internalerror(2006081310);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user