This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24028] CCP is broken
- From: "kazu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2005 04:29:05 -0000
- Subject: [Bug tree-optimization/24028] CCP is broken
- References: <20050923050227.24028.kazu@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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