This is the mail archive of the gcc@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]

a question about const and pure functions.


Do we mark functions being const or pure (TREE_READONLY or DECL_IS_PURE) based on some external standard definition or are these defined any way that the gcc community feels is good?

I am in the process of moving the code that does this analysis so that it is done very early and at once for the entire compilation unit. There appear to be a few minor bugs in the code as well as a few missed opportinities. But before I was going to make any changes, I was wondering if there was any better standard of definition beyond what is defined in doc/extend.texi.

Kenny


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