This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[Question about GCC flags]
- From: "=?big5?q?=B3\=A6u=B3=C7?=" <r95081 at csie dot ntu dot edu dot tw>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 1 Nov 2006 21:40:15 +0800
- Subject: [Question about GCC flags]
hi~
I want to know how to set the flag in order to
show the memory comsumption about my program like this
RTX Number Bytes % Total
address 7 56 0.664
const_int 129 1032 12.239
const_double 21 336 3.985
const_vector 19 152 1.803
pc 1 8 0.095
reg 14 224 2.657
.
.
.
avg. entry 10.63 bytes (+/- 5.78)
longest entry 36
I have tried -fmem-report flag, but it show me the information
"Memory still allocated at the end of the compilation process".
Could you help me?
thx a lot!
--
Open WebMail Project (http://openwebmail.org)