OSDN Git Service

2006-11-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Nov 2006 18:32:14 +0000 (18:32 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Nov 2006 18:32:14 +0000 (18:32 +0000)
commitdcccac3e9a1450221b44ffb52283e564b6331077
tree32a1c1c8f49361c3502e6adb07259b9929277da2
parent220692e419b3eb5e2a7b7b39cc1369a4247eb487
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119162 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-pure-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pure-1.c [new file with mode: 0644]