------- Comment #8 from ubizjak at gmail dot com 2008-05-09 11:48 ------- Patch in testing:
Index: tree-ssa-ccp.c =================================================================== --- tree-ssa-ccp.c (revision 135108) +++ tree-ssa-ccp.c (working copy) @@ -2916,6 +2916,9 @@ execute_fold_all_builtins (void) continue; } + if (result) + gimple_remove_stmt_histograms (cfun, *stmtp); + if (dump_file && (dump_flags & TDF_DETAILS)) { fprintf (dump_file, "Simplified\n "); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36129