diff options
author | Andrew Pinski <andrew_pinski@playstation.sony.com> | 2006-11-24 18:32:14 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2006-11-24 10:32:14 -0800 |
commit | 13335ae6647410bdffb175ec9558cafcc65e0e3d (patch) | |
tree | 32a1c1c8f49361c3502e6adb07259b9929277da2 /gcc/c-common.c | |
parent | db2675d3c0db34c0c0a0ccc73a609c7c24190e3c (diff) | |
download | gcc-13335ae6647410bdffb175ec9558cafcc65e0e3d.zip gcc-13335ae6647410bdffb175ec9558cafcc65e0e3d.tar.gz gcc-13335ae6647410bdffb175ec9558cafcc65e0e3d.tar.bz2 |
re PR tree-optimization/29964 (function with volatile operators still found to be pure)
2006-11-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/29964
* ipa-pure-const.c (check_tree): If the original tree
is volatile return early and say the function is not pure
nor const. Remove the volatile check for writes.
(analyze_function): Print out the result of the local
analysis pass.
2006-11-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/29964
* gcc.dg/pure-1.c: New test.
From-SVN: r119162
Diffstat (limited to 'gcc/c-common.c')
0 files changed, 0 insertions, 0 deletions