Vincent,

Don't know if anyone answered your question already. Didn't see any 
response.

Of those listed below, only malloc, pure, and const have been supported 
(as of  SunStudio 12). The rest are not. There is no equivalent 
to__builtin_expect that I'm aware of.

--Dave

Vincent Torri wrote:
> Hey
>
> I would like to know if the following attributes (supported by gcc) are 
> supported with Sun compilers, and which version should I test with __SUNPRO_C 
> to know if they are supported:
>
> warn_unused_result
> nonnull
> __deprecated__
> malloc
> pure
> format
> format_arg
> const
>
> also, is there something equivalent to the gcc __builtin_expect ?
>
> thank you
>
> Vincent Torri
>   


Reply via email to