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]
Other format: [Raw text]

Re: [PATCH] Make attribute functions pure


That's not how pure functions are defined.
GCC can use (and uses) the pure attribute in many places, it can be used
e.g. in escape analysis etc.
So IMHO it is a bad idea to mark them as pure.

Ok, patch withdrawn (still it is interesting to have a way to mark a function as always CSEable).


Paolo


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