On 10 Jul 2011, at 21:40, Daniël Mantione wrote: > Op Sun, 10 Jul 2011, schreef Chad Berchek: > >> I think we really cannot assume anything about what exactly will happen with >> regard to the calling convention, which is what I was worried about earlier. > > Within a certain calling convention, the behaviour of const is defined and > will not change.
Actually, even that is not true: http://wiki.freepascal.org/User_Changes_Trunk#Const_parameter_passing_on_non-Win64_platforms const parameters are indeed not suited to assembler routines for that reason. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel