Brandon Potter has uploaded a new patch set (#2). (
https://gem5-review.googlesource.com/8462 )
Change subject: mem: fix page_table bug for .fast build
......................................................................
mem: fix page_table bug for .fast build
Since b8b13206c8, the '.fast' build has failed to compile with an error
caused by a variable and an assert.
As a reminder, assert macros are optimized out of the build for '.fast'.
If an assert check requires a variable that is unused anywhere else in
the code, the compiler complains that the variable is unused and the
scons build fails. The solution is to add a M5_VAR_USED specifier to
tell the compiler to ignore the variable.
Change-Id: I38f6bbed1e4c0506c5bbc1206c21f1f7e3d8dfe6
---
M src/mem/page_table.cc
1 file changed, 2 insertions(+), 1 deletion(-)
--
To view, visit https://gem5-review.googlesource.com/8462
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I38f6bbed1e4c0506c5bbc1206c21f1f7e3d8dfe6
Gerrit-Change-Number: 8462
Gerrit-PatchSet: 2
Gerrit-Owner: Brandon Potter <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev