From 69d259b6ae97b9f6803a34c794baec752977d611 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 27 Apr 2007 13:59:17 -0700 Subject: [PATCH] gcc 4.1 claims that mem_data might be used uninitialized, though I don't believe that's true. Placate it anyway. --HG-- extra : convert_revision : dcd9427af14f0e7a33510054bee4ecbe73e050be --- src/arch/sparc/isa/formats/mem/swap.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/sparc/isa/formats/mem/swap.isa b/src/arch/sparc/isa/formats/mem/swap.isa index b71542a2b..f3d15670f 100644 --- 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; -- 2.30.2