[fpc-devel] generate assembler with no clear purpose MOV

Pierre Muller pierre at freepascal.org
Wed Feb 5 10:52:24 CET 2020



Le 05/02/2020 à 07:17, Marģers . via fpc-devel a écrit :
>  
> 
> From:  J. Gareth Moreton <gareth at moreton-family.com>
> To:  <fpc-devel at lists.freepascal.org>
>> Are you able to dump the nodes as well with -an? (You'll need to define
>> -dEXTDEBUG though) That might give some clues behind the presence of
>> that movslq instruction.
> 
> building compiler with -dEXTDEBUG does not work for me
> make singlezipinstall OS_TARGET=linux CPU_TARGET=x86_64  OPT="-dEXTDEBUG -CpCOREAVX2 -OpCOREAVX2 -Fu/home/user/fpc304/lib/fpc/3.0.4/units/x86_64-linux/rtl/"
> 
> constexp.pas(125,13) Warning: Location (LOC_CSSETREG) not equal to expectloc (LOC_REG): typeconvn
> constexp.pas(594) Fatal: There were 1 errors compiling module, stopping

  Some extra warnings are generated when -dEXTDEBUG is iused which lead to errors because -Sew option is used by default.

  You will need to also add ALLOW_WARNINGS=1 to the make call.

Pierre



More information about the fpc-devel mailing list