[fpc-devel]Need help for bug report
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Jul 17 14:37:59 CEST 2004
On Sat, 17 Jul 2004 12:29:24 +0200 (CEST) marcov at stack.nl (Marco van de
Voort) wrote:
> > Compiling lazarus with current fpc (since about a week) gives
> >
> > synmacrorecorder.pas(618,43) Error: Asm: [mov ???,mem32] invalid
> > combination of opcode and operands
> >
> > I tried to create a small example for a bug report, but was not able to
> > reproduce it in a small example.
> >
> > procedure TCustomSynMacroRecorder.SaveToStream(aDest: TStream);
> > var
> > cEvent, eCnt : integer;
> > begin
> > eCnt := EventCount;
> > aDest.Write(eCnt, sizeof(eCnt));
> > for cEvent := 0 to eCnt -1 do
> > Events[ cEvent ].SaveToStream( aDest ); // line 618
> > end;
> >
> > where Events is defined as
> > property Events[aIndex: integer]: TSynMacroEvent read GetEvent;
> >
> >
> > Maybe someone can give me a hint or two, how to report this.
>
> Compile the file with -al. One then probably gets the error in the asm
> file.
../units/i386/linux/synmacrorecorder.s: Assembler messages:
../units/i386/linux/synmacrorecorder.s:3310: Error: bad register name
`%ireg31d'
../units/i386/linux/synmacrorecorder.s:3312: Error: bad register name
`%ireg31d'
../units/i386/linux/synmacrorecorder.s:3313: Error: bad register name
`%ireg31d'
?
Mattias
More information about the fpc-devel
mailing list