------- Comment #3 from lucier at math dot purdue dot edu 2008-09-18 20:07 ------- Created an attachment (id=16358) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16358&action=view) gprof output for the test case
The compiler (which was bootstrapped with BOOT_CFLAGS='-O2 -g -pg'): Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../../mainline/configure --with-gmp=/pkgs/gmp-4.2.2/ --with-mpfr=/pkgs/gmp-4.2.2/ --prefix=/pkgs/gcc-mainline --enable-languages=c --enable-gather-detailed-mem-stats Thread model: posix gcc version 4.4.0 20080917 (experimental) [trunk revision 140425] (GCC) GNU C (GCC) version 4.4.0 20080917 (experimental) [trunk revision 140425] (x86_64-unknown-linux-gnu) compiled by GNU C version 4.4.0 20080917 (experimental) [trunk revision 140425], GMP version 4.2.2, MPFR version 2.3.0-p4. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 the command line /export/pkgs/gcc-mainline/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1 -fpreprocessed all.i -quiet -dumpbase all.i -mtune=generic -auxbase all -O1 -Wall -W -Wno-unused -version -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -ftime-report -fmem-report -o all.s >>& mainline-stats-2008-09-18 Highlights of the gprof output: Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 63.13 422.59 422.59 3 140.86 141.03 find_replaceable_exprs ----------------------------------------------- 422.59 0.50 3/3 rewrite_out_of_ssa [6] [7] 63.2 422.59 0.50 3 find_replaceable_exprs [7] 0.20 0.30 63203/63203 find_replaceable_in_bb [290] 0.00 0.00 6/13254347 bitmap_obstack_free [162] 0.00 0.00 6/6476878 bitmap_obstack_alloc_stat [339] ----------------------------------------------- Doesn't tell me much ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37567