[tree-ssa] Removing useless/redundant "const" calls
Jason Merrill
jason@redhat.com
Thu Jun 12 20:11:00 GMT 2003
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
More information about the Gcc-patches
mailing list