From 5ce5a1b7701856f5a2f11d3c98bd5fe325310d1c Mon Sep 17 00:00:00 2001
From: clc5q <clc5q@git.zephyr-software.com>
Date: Sun, 20 Apr 2008 19:40:45 +0000
Subject: [PATCH] Reduce debug output.

---
 SMPFunction.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SMPFunction.cpp b/SMPFunction.cpp
index b63f461c..2f3d9b96 100644
--- a/SMPFunction.cpp
+++ b/SMPFunction.cpp
@@ -2150,7 +2150,7 @@ void SMPFunction::SSARename(int BlockNumber) {
 				if (this->SSAStack.at(GlobIndex).empty()) {
 					// No top of stack entry to read.
 #if SMP_DEBUG_UNINITIALIZED_SSA_NAMES
-					if (!(*CurrInst)->MDIsPopInstr()) {
+					if (!(*CurrInst)->MDIsPopInstr() && (o_reg == GlobIter->type)) {
 						// POP uses the stack offset and generates spurious
 						//  uninitialized variable messages for [esp+0].
 						msg("WARNING: function %s : Use of uninitialized variable: ",
-- 
GitLab