From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20227 invoked by alias); 7 Jan 2008 15:08:53 -0000 Received: (qmail 20153 invoked by uid 48); 7 Jan 2008 15:08:09 -0000 Date: Mon, 07 Jan 2008 16:18:00 -0000 Message-ID: <20080107150809.20152.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/34683] [4.3 Regression] Fortran FE generated IL pessimizes middle-end IL and analysis In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg00624.txt.bz2 ------- Comment #21 from rguenth at gcc dot gnu dot org 2008-01-07 15:08 ------- Without the loop optimizer the profile looks like: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 9.77 2.96 2.96 14743868 0.00 0.00 add_vars_for_offset 8.00 5.38 2.42 vuses_compare 7.06 7.51 2.14 44262948 0.00 0.00 add_virtual_operand 6.65 9.52 2.01 235204852 0.00 0.00 var_ann 4.83 10.98 1.46 68814811 0.00 0.00 iterative_hash_expr 4.66 12.39 1.41 172 0.01 0.04 DFS 4.63 13.79 1.40 69248754 0.00 0.00 htab_find_with_hash 4.28 15.09 1.30 1229783 0.00 0.00 ggc_alloc_stat 4.13 16.34 1.25 206399974 0.00 0.00 VN_INFO 4.00 17.55 1.21 19029637 0.00 0.00 set_bb_for_stmt 3.74 18.68 1.13 12610 0.00 0.00 get_call_expr_operands 2.88 19.55 0.87 266239 0.00 0.00 valueize_vuses 2.31 20.25 0.70 68677290 0.00 0.00 uid_decl_map_eq 2.25 20.93 0.68 129473 0.00 0.00 visit_reference_op_store 1.90 21.50 0.58 114366877 0.00 0.00 is_gimple_reg 1.49 21.95 0.45 147496 0.00 0.00 vec_gc_o_reserve_1 1.41 22.38 0.43 68653081 0.00 0.00 referenced_var_lookup and most of the time (cfgcleanup and operand scanner globbed into passes) is spent in tree PHI const/copy prop: 27.82 (42%) usr 0.05 ( 5%) sys 27.95 (41%) wall 8 kB ( 0%) ggc tree FRE : 24.94 (37%) usr 0.78 (73%) sys 25.73 (38%) wall 508759 kB (80%) ggc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34683