This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/24028] CCP is broken


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]