diff --git a/compiler/x86/aoptx86.pas b/compiler/x86/aoptx86.pas index 3cf6a50932..f6ebf3c485 100644 --- a/compiler/x86/aoptx86.pas +++ b/compiler/x86/aoptx86.pas @@ -8219,6 +8219,7 @@ unit aoptx86; { Shouldn't fail here } InternalError(2021040701); + taicpu(NewInstr).fileinfo := taicpu(hp2).fileinfo; AsmL.InsertAfter(NewInstr, hp2); { Add new alignment field } (* AsmL.InsertAfter(