projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5037ad
)
gcc 4.1 claims that mem_data might be used uninitialized,
author
Nathan Binkert
<binkertn@umich.edu>
Fri, 27 Apr 2007 20:59:17 +0000
(13:59 -0700)
committer
Nathan Binkert
<binkertn@umich.edu>
Fri, 27 Apr 2007 20:59:17 +0000
(13:59 -0700)
though I don't believe that's true. Placate it anyway.
--HG--
extra : convert_revision :
dcd9427af14f0e7a33510054bee4ecbe73e050be
src/arch/sparc/isa/formats/mem/swap.isa
patch
|
blob
|
history
diff --git
a/src/arch/sparc/isa/formats/mem/swap.isa
b/src/arch/sparc/isa/formats/mem/swap.isa
index b71542a2bafca8050608eb5ff9f37e42c3ebd337..f3d15670fb736fc858e3855b09c6f2eb4be171da 100644
(file)
--- a/
src/arch/sparc/isa/formats/mem/swap.isa
+++ b/
src/arch/sparc/isa/formats/mem/swap.isa
@@
-39,7
+39,7
@@
def template SwapExecute {{
Addr EA;
%(fp_enable_check)s;
%(op_decl)s;
- uint64_t mem_data;
+ uint64_t mem_data
= 0
;
%(op_rd)s;
%(ea_code)s;