This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/41797] Segmentation fault on compiling using pre-compiled headers



------- Comment #4 from ramana at gcc dot gnu dot org  2009-12-09 16:04 -------
Do you still see this problem ? Can you provide a backtrace or some more
information about this one ? 

I don't see this as of 4.4 from yesterday. 

mkdir test.gch
gcc -x c-header -marm -fmem-report -ftime-report -c -march=armv5te test.h -o
test.gch/c
Memory still allocated at the end of the compilation process
Size   Allocated        Used    Overhead
8           8192        5856         192 
128          156k        153k       1404 
256         4096        2048          32 
512         4096        1536          32 
1024        4096        3072          32 
2048          32k         32k        256 
4096          20k         20k        160 
8192          16k         16k         64 
65536         64k         64k         32 
104           68k         66k        612 
96          4096          96          36 
80          4096         160          36 
56            88k         86k        880 
88          4096         176          36 
64          4096        1984          40 
32           168k        166k       2016 
40          8192        4920          88 
16            24k         20k        384 
48          4096        1008          40 
Total        684k        645k       6372 

String pool
entries         1574
identifiers     1574 (100.00%)
slots           16384
deleted         0
bytes           21k (4095M overhead)
table size      64k
coll/search     0.0573
ins/search      0.7274
avg. entry      14.01 bytes (+/- 7.79)
longest entry   45

??? tree nodes created

(No per-node statistics)
Type hash: size 1021, 286 elements, 0.295706 collisions
DECL_DEBUG_EXPR  hash: size 1021, 0 elements, 0.000000 collisions
DECL_VALUE_EXPR  hash: size 1021, 0 elements, 0.000000 collisions
No gimple statistics

Execution times (seconds)
 parser                :   0.09 (75%) usr   0.01 (100%) sys   0.32 (73%) wall  
  104 kB (17%) ggc
 TOTAL                 :   0.12             0.01             0.44              
 617 kB
gcc -c -marm -fmem-report -ftime-report -march=armv5te -include test test.c
Memory still allocated at the end of the compilation process
Size   Allocated        Used    Overhead
8            228k        224k       5440 
128         1216k       1112k       9728 
256          940k        681k       7520 
512          164k         70k       1312 
1024        2064k       2062k         16k
2048         636k        634k       4864 
4096        1308k        156k         10k
8192          96k         88k        352 
16384        912k         80k       1824 
32768        192k        128k        192 
65536        192k        192k         96 
131072        128k          0          32 
262144        256k        256k         32 
104         1232k       1216k         10k
96           152k        149k       1368 
80          2368k       2356k         20k
56          3408k       3399k         32k
88          2660k       2534k         23k
64          4052k       4049k         39k
32            11M         11M        134k
40            10M         10M        113k
16            16M         16M        270k
48          2820k       2597k         27k
Total         62M         59M        731k

String pool
entries         11239
identifiers     11239 (100.00%)
slots           16384
deleted         0
bytes           115k (4095M overhead)
table size      64k
coll/search     0.5970
ins/search      0.0827
avg. entry      10.50 bytes (+/- 5.95)
longest entry   45

??? tree nodes created

(No per-node statistics)
Type hash: size 4093, 2786 elements, 0.998014 collisions
DECL_DEBUG_EXPR  hash: size 4093, 1657 elements, 1.080266 collisions
DECL_VALUE_EXPR  hash: size 1021, 0 elements, 0.000000 collisions
No gimple statistics

Execution times (seconds)
 callgraph construction:   0.50 ( 1%) usr   0.00 ( 0%) sys   1.02 ( 1%) wall   
1535 kB ( 2%) ggc
 callgraph optimization:   0.18 ( 1%) usr   0.01 ( 1%) sys   0.44 ( 0%) wall   
1030 kB ( 1%) ggc
 cfg cleanup           :   0.25 ( 1%) usr   0.01 ( 1%) sys   0.69 ( 1%) wall   
  25 kB ( 0%) ggc
 trivially dead code   :   0.23 ( 1%) usr   0.01 ( 1%) sys   0.55 ( 1%) wall   
   0 kB ( 0%) ggc
 df live regs          :   0.34 ( 1%) usr   0.00 ( 0%) sys   0.88 ( 1%) wall   
   0 kB ( 0%) ggc
 df reg dead/unused notes:   0.64 ( 2%) usr   0.02 ( 1%) sys   1.61 ( 2%) wall 
  1246 kB ( 2%) ggc
 register information  :   0.30 ( 1%) usr   0.01 ( 1%) sys   0.70 ( 1%) wall   
   0 kB ( 0%) ggc
 alias analysis        :   0.21 ( 1%) usr   0.00 ( 0%) sys   0.49 ( 1%) wall   
 386 kB ( 0%) ggc
 rebuild jump labels   :   0.15 ( 0%) usr   0.02 ( 1%) sys   0.50 ( 1%) wall   
   0 kB ( 0%) ggc
 preprocessing         :   0.79 ( 2%) usr   0.14 ( 8%) sys   2.22 ( 2%) wall   
 728 kB ( 1%) ggc
 lexical analysis      :   0.51 ( 1%) usr   0.29 (16%) sys   1.90 ( 2%) wall   
   0 kB ( 0%) ggc
 parser                :   1.79 ( 5%) usr   0.27 (15%) sys   4.55 ( 5%) wall   
9896 kB (13%) ggc
 inline heuristics     :   0.16 ( 0%) usr   0.01 ( 1%) sys   0.33 ( 0%) wall   
   0 kB ( 0%) ggc
 tree gimplify         :   1.41 ( 4%) usr   0.03 ( 2%) sys   3.30 ( 4%) wall  
11588 kB (15%) ggc
 tree eh               :   0.09 ( 0%) usr   0.01 ( 1%) sys   0.19 ( 0%) wall   
   0 kB ( 0%) ggc
 tree CFG construction :   0.18 ( 1%) usr   0.03 ( 2%) sys   0.47 ( 1%) wall   
4035 kB ( 5%) ggc
 tree CFG cleanup      :   0.32 ( 1%) usr   0.02 ( 1%) sys   0.86 ( 1%) wall   
   3 kB ( 0%) ggc
 tree find ref. vars   :   0.07 ( 0%) usr   0.00 ( 0%) sys   0.14 ( 0%) wall   
1663 kB ( 2%) ggc
 tree PHI insertion    :   0.10 ( 0%) usr   0.01 ( 1%) sys   0.24 ( 0%) wall   
 698 kB ( 1%) ggc
 tree SSA rewrite      :   0.08 ( 0%) usr   0.02 ( 1%) sys   0.22 ( 0%) wall   
2132 kB ( 3%) ggc
 tree SSA other        :   0.37 ( 1%) usr   0.03 ( 2%) sys   0.77 ( 1%) wall   
   0 kB ( 0%) ggc
 tree operand scan     :   0.22 ( 1%) usr   0.05 ( 3%) sys   0.53 ( 1%) wall   
3141 kB ( 4%) ggc
 tree SSA to normal    :   0.69 ( 2%) usr   0.01 ( 1%) sys   1.73 ( 2%) wall   
  49 kB ( 0%) ggc
 dominance frontiers   :   0.05 ( 0%) usr   0.00 ( 0%) sys   0.10 ( 0%) wall   
   0 kB ( 0%) ggc
 dominance computation :   0.28 ( 1%) usr   0.02 ( 1%) sys   0.72 ( 1%) wall   
   0 kB ( 0%) ggc
 expand                :   8.75 (25%) usr   0.33 (18%) sys  22.68 (25%) wall  
30545 kB (39%) ggc
 varconst              :   0.00 ( 0%) usr   0.01 ( 1%) sys   0.02 ( 0%) wall   
   0 kB ( 0%) ggc
 jump                  :   0.04 ( 0%) usr   0.00 ( 0%) sys   0.11 ( 0%) wall   
   0 kB ( 0%) ggc
 integrated RA         :   6.48 (19%) usr   0.12 ( 7%) sys  16.73 (19%) wall   
2937 kB ( 4%) ggc
 reload                :   5.53 (16%) usr   0.07 ( 4%) sys  13.82 (15%) wall   
5256 kB ( 7%) ggc
 thread pro- & epilogue:   0.96 ( 3%) usr   0.02 ( 1%) sys   2.52 ( 3%) wall   
 995 kB ( 1%) ggc
 machine dep reorg     :   0.81 ( 2%) usr   0.01 ( 1%) sys   2.25 ( 3%) wall   
 240 kB ( 0%) ggc
 final                 :   2.21 ( 6%) usr   0.22 (12%) sys   6.28 ( 7%) wall   
 100 kB ( 0%) ggc
 symout                :   0.00 ( 0%) usr   0.01 ( 1%) sys   0.05 ( 0%) wall   
   0 kB ( 0%) ggc
 TOTAL                 :  34.82             1.83            89.96             
78824 kB


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41797


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]