Impure attribute?

Akim Demaille akim.demaille@gmail.com
Fri Sep 10 15:25:00 GMT 2010


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.



More information about the Gcc-help mailing list