[fpc-devel] threadvar implementation

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Aug 5 11:09:49 CEST 2010

Michael Schnell schrieb:

> IMHO, if the compiler should issue an error message if yo9u give a 
> segment register with LEA, as the result obviously is erroneous. Maybe 
> other compilers in fact do this. I only tested Turbo Delphi.

I had thought that this has been fixed on newer architectures, that use 
the flat model only. There you don't have to specify a target segment, 
because the effective address (32 bit offset) is sufficient.

IMO you still think too much about segment registers, as used in 16 bit 


More information about the fpc-devel mailing list