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: [tree-ssa] Removing useless/redundant "const" calls


On Thu, 12 Jun 2003 20:32:36 +0200 (CEST), Michael Matz <matz@suse.de> wrote:

> It's not that we would gain much from marking such functions pure
> automatically (they will be optimized away not that often).  But what
> could be done instead is to allow the user to explicitely define functions
> as pure (per attribute), _even_ if it contains calls to non-pure noreturn
> functions.  So I'm just against detecting such functions automatically as
> pure.

I agree.

Jason


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