On 07/15/2015 20:52, David Malcolm wrote: > On Wed, 2015-07-15 at 20:19 +0200, Basile Starynkevitch wrote: >> Hello All and David Malcolm >> >> The attached patch (relative to trunk r224842) is adding >> gcc_jit_context_new_rvalue_from_long_long and similar functions to >> GCCJIT. > Here is the slightly improved but still incomplete patch against trunk r225844. I don't send it yet to gcc-patches@ because I know it is incomplete Perhaps it is useless to send it here, but at least it serves as backup for me and to show the slow progress I made so far. Temporary gcc/jit/ChangeLog entry is ####### 2015-07-15 Basile Starynkevitch * libgccjit.h (gcc_jit_context_new_rvalue_from_long_long) (gcc_jit_context_new_rvalue_from_int32) (gcc_jit_context_new_rvalue_from_int64) (gcc_jit_context_new_rvalue_from_intptr): New function declarations. Mention in comments that some of them are same as others. * libgccjit.map: New entries for above functions in LIBGCCJIT_ABI_4/ * libgccjit.c (gcc_jit_context_new_rvalue_from_long_long) (gcc_jit_context_new_rvalue_from_int32) (gcc_jit_context_new_rvalue_from_int64) (gcc_jit_context_new_rvalue_from_intptr): New functions. * jit-playback.c (new_rvalue_from_const ): New specialization. * jit-recording.c (recording::memento_of_new_rvalue_from_const ::write_reproducer): New. ###### Sorry for this incomplete patch. But your comments (if you have a few minutes to spend) are stil welcome. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***