This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/2692] excessive compile time with optimization
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2003 15:35:39 -0000
- Subject: [Bug optimization/2692] excessive compile time with optimization
- References: <20010429210601.2692.snyder@fnal.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2692
------- Additional Comments From steven at gcc dot gnu dot org 2003-07-25 15:35 -------
Compiler:
GNU C++ version 3.4 20030725 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.4 20030725 (experimental).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31916
Flags:
-O -quiet
File:
z.cc
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
10.73 40.70 40.70 19930 2.04 3.22 find_equiv_reg
9.68 77.41 36.71 193175759 0.00 0.00 find_base_term
9.53 113.58 36.17 178499488 0.00 0.00 refers_to_regno_p
8.26 144.90 31.32 446734067 0.00 0.00 canon_rtx
7.49 173.30 28.40 467218101 0.00 0.00 rtx_equal_p
7.20 200.62 27.32 176913679 0.00 0.00 read_dependence
6.26 224.38 23.75 73755132 0.00 0.00 addr_side_effect_eval
5.96 246.99 22.61 295299380 0.00 0.00 true_regnum
4.69 264.79 17.80 175470757 0.00 0.00 canon_true_dependence
4.38 281.39 16.61 578096780 0.00 0.00 ix86_find_base_term
4.36 297.94 16.54 178512386 0.00 0.00 reg_overlap_mentioned_p
4.11 313.51 15.58 578101529 0.00 0.00 i386_output_dwarf_dtprel
3.67 327.43 13.91 18646114 0.00 0.00 regno_clobbered_at_setjmp
2.38 336.45 9.02 176829268 0.00 0.00 main
1.29 341.36 4.91 175470757 0.00 0.00 anti_dependence
1.07 345.41 4.05 3014519 0.00 0.00 propagate_block
(all others <1%)
So find_equiv_reg is a bottleneck for this code.