mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 09:29:07 +02:00
The sources of the Free Pascal compiler, RTL, packages and utilities.
See https://www.freepascal.org/ for more info.
![]() location_force_reg when generating code for a call to a virtual class method, called through a class reference var. This bug went unnoticed so far, because on all platforms, except i8086 medium and compact memory models, the size of a vmt pointer is the same as the size of a procvar. Even in the i8086 medium and compact memory models, the previous code would generate correct code, because thlcg2ll.a_load_loc_reg uses loc.size (which was correct) in the case when fromsize=tosize (both of which were wrong, but equal), due to the check in hlcg2ll.pas:555. Thanks to Jonas for finding this bug! git-svn-id: trunk@28512 - |
||
---|---|---|
compiler | ||
ide | ||
installer | ||
packages | ||
rtl | ||
tests | ||
utils | ||
.gitattributes | ||
.gitignore | ||
fpmake_add1.inc | ||
fpmake_proc1.inc | ||
fpmake.pp | ||
Makefile | ||
Makefile.fpc |