[fpc-devel] about bug 0016668 (-gt -O2)

Martin fpc at mfriebe.de
Tue Jun 8 16:46:02 CEST 2010


On 08/06/2010 15:35, Martin wrote:
>> It's caused by the broken x86 behaviour of "x shl 32 = x". It does 
>> not affect in any way the correctness of code generated with -gt 
>> though, except that some variables are indeed initialised with 0 
>> instead of with the intended trashing value. 
>
Also out of interest. Where does the shl happen? In the compiler? 
Because the generated code does not conatain any shl. The generated code 
uses movl $0, <reg>




More information about the fpc-devel mailing list