This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Identifying Pure and Const Functions
- From: Pritam Gharat <pritam01gharat at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 29 May 2015 13:16:32 +0530
- Subject: Identifying Pure and Const Functions
- Authentication-results: sourceware.org; auth=none
Hi,
How do we identify whether a function is a pure or a const function?
Is there any flag associated with its cgraph_node or the tree node
(decl of cgraph_node)?
Thanks,
Pritam Gharat