Hi,

This small patch adds support for new reference type for IPA pure const 
analysis.

Thanks,
Ilya
--
2014-08-15  Ilya Enkovich  <ilya.enkov...@intel.com>

        * ipa-pure-const.c (propagate_pure_const): Support
        IPA_REF_CHKP.


diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c
index b964502..d7688d5 100644
--- a/gcc/ipa-pure-const.c
+++ b/gcc/ipa-pure-const.c
@@ -1273,6 +1273,7 @@ propagate_pure_const (void)
                    fprintf (dump_file, "    global var write\n");
                  break;
                case IPA_REF_ADDR:
+               case IPA_REF_CHKP:
                  break;
                default:
                  gcc_unreachable ();

Reply via email to