changeset 97ef15178067 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=97ef15178067
description:
base: Fix VectorPrint initialisation
This patch changes how the initialisation of the VectorPrint struct is
done so that gcc 4.4 is happy again.
diffstat:
src/base/stats/text.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 43d22d746e7a -r 97ef15178067 src/base/stats/text.cc
--- a/src/base/stats/text.cc Mon Aug 19 03:52:36 2013 -0400
+++ b/src/base/stats/text.cc Tue Aug 20 11:21:26 2013 -0400
@@ -249,7 +249,7 @@
int precision;
VResult vec;
Result total;
- bool forceSubnames = false;
+ bool forceSubnames;
void operator()(ostream &stream) const;
};
@@ -513,6 +513,7 @@
print.precision = info.precision;
print.vec = info.result();
print.total = info.total();
+ print.forceSubnames = false;
if (!info.subnames.empty()) {
for (off_type i = 0; i < size; ++i) {
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev