This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to purify some functions.


grahams <grahams@rcp.co.uk> writes:

> Mark
> 
> Would it not be possible for the compiler to check that
> functions marked as pure are indeed pure.

That is pretty hard when the function calls other functions
which are not marked pure (unless you do global analysis) 

-Andi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]