diff options
author | Kenneth Zadeck <zadeck@naturalbridge.com> | 2007-11-08 16:45:53 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2007-11-08 16:45:53 +0000 |
commit | 17541d72a769ffafcfa9bd84efb74c08a075ff7b (patch) | |
tree | 960a5c735afa3e5775ec4339f6094009bf8c1714 /gcc/ipa-utils.c | |
parent | f6230c17e9c05a397f99726b789e4f9efcf9e21e (diff) | |
download | gcc-17541d72a769ffafcfa9bd84efb74c08a075ff7b.zip gcc-17541d72a769ffafcfa9bd84efb74c08a075ff7b.tar.gz gcc-17541d72a769ffafcfa9bd84efb74c08a075ff7b.tar.bz2 |
[multiple changes]
2007-11-07 Kenneth Zadeck <zadeck@naturalbridge.com>
PR middle-end/33826
* ipa-pure-const (static_execute): Added code to keep recursive
functions from being marked as pure or const.
* ipa-utils (searchc): Fixed comment.
2007-11-08 Kenneth Zadeck <zadeck@naturalbridge.com>
PR middle-end/33826
* gcc.dg/pr33826.c: New.
* gcc.dg/tree-ssa/20030714-1.c: Removed two tests that depend on
recursive functions being marked pure or const.
From-SVN: r130006
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r-- | gcc/ipa-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index b8e25bb..2a95629 100644 --- a/gcc/ipa-utils.c +++ b/gcc/ipa-utils.c @@ -76,7 +76,7 @@ struct searchc_env { has been customized for cgraph_nodes. The env parameter is because it is recursive and there are no nested functions here. This function should only be called from itself or - cgraph_reduced_inorder. ENV is a stack env and would be + ipa_utils_reduced_inorder. ENV is a stack env and would be unnecessary if C had nested functions. V is the node to start searching from. */ |