diff --git a/compiler/llvm/hlcgllvm.pas b/compiler/llvm/hlcgllvm.pas index ce664c09c2..4f73cfa43e 100644 --- a/compiler/llvm/hlcgllvm.pas +++ b/compiler/llvm/hlcgllvm.pas @@ -1798,6 +1798,8 @@ implementation tmpref: treference; pointedsize: asizeint; begin + if ref.alignment=0 then + internalerror(2016072203); { already simple? } if (not assigned(ref.symbol) or (ref.base=NR_NO)) and