This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Impure attribute?
Le 8 sept. 2010 à 02:57, Ian Lance Taylor a écrit :
> Hi Akim.
Hi Ian!
Thanks for answering!
> Can you clearly define what the impure attribute would mean? In
> particular, should it warn about calling the same impure function twice
> without an intervening sequence point? Or should it complain about
> calling any two impure functions? I'm not really sure which would be
> more useful.
That's a good question... I would say that the more paranoid, the better, so I would go for #2, though in my case #1 suffices.