[Bug tree-optimization/24028] CCP is broken

kazu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 24 04:29:00 GMT 2005


------- Additional Comments From kazu at gcc dot gnu dot org  2005-09-24 04:29 -------
I tried the following code in ccp_initialize.

  for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
    {
      tree var = PHI_RESULT (phi);
      DONT_SIMULATE_AGAIN (phi) = (!do_store_ccp
                                   && !is_gimple_reg (var));
    }

I am seeing 0.1% slow down while compiling cc1-i files.  I ran
unpatched and patched compilers 5 times each, with the best and worst
cases thrown away.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24028



More information about the Gcc-bugs mailing list