------- Comment #4 from pinskia at gcc dot gnu dot org 2006-11-24 18:32 ------- Subject: Bug 29964
Author: pinskia Date: Fri Nov 24 18:32:14 2006 New Revision: 119162 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119162 Log: 2006-11-24 Andrew Pinski <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> PR tree-opt/29964 * gcc.dg/pure-1.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pure-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-pure-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29964