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 Thursday, Jun 12, 2003, at 14:32 America/New_York, Michael Matz wrote:


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.

This is exactly what is needed for Ada (and in fact, what we have been doing forever).

-Geert


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