[fpc-devel] Not really a bug...
Peter Vreman
peter at freepascal.org
Tue Jul 5 07:46:41 CEST 2005
> Peter Vreman a écrit :
>>>Hello,
>>>
>>>I am using FPC 2.0.0, Win32.
>>>
>>>When subtracting a longword from a longword, FPC codes the
>>>operation as if it were a 64-bit operation. This is not really
>>>a bug since the code is correct but this uselessly increases
>>>the running times and the sizes of the executables.
>>>
>>>(I found no bug report about that)
>>
>>
>> There were a couple of bug reports about this issue. It is already fixed
>> in current svn.
>
> I am using FPC 2.0.0 with some files overwritten by the ones
> downloaded from
> ftp://ftp.freepascal.org/pub/fpc/snapshot/v21/i386-win32/
> (file base.i386-win32.zip)
> and the problem is still there.
>
> base.i386-win32.zip doesn't contain updated files?
Use the svn trunk to be sure to get the latest sources. The binary
snapshots sometimes fail to build.
Current svn generates the following code:
# [4] u := v - w;
movl U_P$PROGRAM_V,%eax
subl U_P$PROGRAM_W,%eax
movl %eax,U_P$PROGRAM_U
More information about the fpc-devel
mailing list