This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/13203] New: -fmem-report "Total usage" is not correct
- From: "gerald at pfeifer dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2003 17:43:48 -0000
- Subject: [Bug middle-end/13203] New: -fmem-report "Total usage" is not correct
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On a variant of one of our most popular PRs, PR8361, current CVS on the
tree-ssa branch built with -DGATHER_STATISTICS results in the following
for g++ -fmem-report -O3 generate-3.4.ii:
Size Allocated Used Overhead
8 17M 17M 401k
16 23M 23M 351k
32 117M 117M 1292k
64 41M 41M 370k
128 2100k 2098k 16k
256 18M 18M 132k
512 18M 18M 129k
1024 22M 22M 159k
2048 11M 11M 83k
4096 11M 11M 80k
8192 12M 12M 43k
16384 14M 14M 24k
32768 11M 11M 9968
65536 9216k 9216k 4032
131072 9728k 9728k 2128
262144 7168k 7168k 784
116 98M 97M 788k
24 195M 194M 2348k
12 43M 43M 738k
40 67M 67M 675k
Total 753M 208M 7652k <==========
Total Overhead: 83473230
Total Allocated: 788180256
Note how the usage column in the third to last line ("Total") does not really
seem to sum up the entries in that column.
--
Summary: -fmem-report "Total usage" is not correct
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: middle-end
AssignedTo: steven at gcc dot gnu dot org
ReportedBy: gerald at pfeifer dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13203