Le 11/01/2017 à 13:47, Peter a écrit :
On 10/01/17 16:05, Prof Abimbola Olowofoyeku wrote:
snip
Works with (32-bit) 4.1.2 (gpc version 20070904, based on gcc-4.1.2) running on 64-bit Linux Mint 17.
snip
Thanks, that's interesting. I tried 32-bit from 4.3.6 via the -m32 switch, but still not working here.
I would be very interested to see results from any 20070904 64-bit compiler based on any gcc-4.x.x Hopefully someone out there could run this test?
gpc -S -O3 InlineDemo.pas grep call.*Max InlineDemo.s
I have succesfully compiled gpc-4.3.5 from Waldeck's git programs in year 2013 on an old fedora 6 system both for 32 and 64 bits. The checks are given in attached files.
Running your suggested test gived the attached inlinedemo.s and grep gives call _p_M0_S0_Max call _p_M0_S0_Max
In fact for my work I still stick with gcc-3.4.6 based gpc because I see no advantage in the gcc-4.3.5 based gpc, with contains still a (very few) more errors in the tests.
Hope this helps
Maurice