On Fri, Jun 24, 2011 at 02:04:20PM +0200, Pierre Vittet wrote:
> Hello,
> 
> This patch completes the pragma support in MELT. Now, a plugin can
> register several pragmas (with different name) in the following
> format (for GCC > 4.6):
> 
> #pragma MELT <name> <op> (<arg1>,...<argN>).
> 
> This pragma can be easily handle in a MELT function, giving the
> operator and the list of arguments as parameters.
> 
> For GCC<=4.6, there is a minimal pragma support, we can handle
> following pragma:
> 
> #pragma GCCPLUGIN melt <op> (<arg1>,...<argN>)
> 
> with only melt as name.
> 
> ChangeLog:
> 
> 2011-06-24  Pierre Vittet <pier...@pvittet.com>
> 
>     * melt-runtime.c (GCC_PRAGMA_BAD): Macro to return an error from the
>     pragma handling system.
>     [__GNUC__>4.6](melt_handle_melt_pragma, handle_melt_pragma,
>     melt_pragma_callback): Add functions for full pragma handling.
>     [__GNUC__<=4.6](melt_handle_melt_pragma, handle_melt_pragma,
>     melt_pragma_callback): Add functions for limited pragma handling.
>     (melt_startunit_callback): Register a callback for pragma.
>     * Makefile.in (CFAMILYINC): We need c-family header in include
> headers.

Thanks for the work. Almost perfect!

Your ChangeLog entry is not properly aligned. And what is happenning when
MELT is running in LTO mode?

Cheers.

PS. I will call you. 
-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

Reply via email to