From 249a60b28b2c08fe4d2cf0313a5f30e4ebd24ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Wed, 20 Aug 2014 10:21:06 +0000 Subject: [PATCH] x86: fix a variable op not initialized warning. This hopefully fixes our x86 testsuite run. git-svn-id: trunk@28496 - --- compiler/x86/nx86add.pas | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/x86/nx86add.pas b/compiler/x86/nx86add.pas index 41be991e0d..1c57544131 100644 --- a/compiler/x86/nx86add.pas +++ b/compiler/x86/nx86add.pas @@ -613,6 +613,8 @@ unit nx86add; pass_left_right; cmpop:=false; + op:=A_NOP; + mmxbase:=mmx_type(left.resultdef); location_reset(location,LOC_MMXREGISTER,def_cgsize(resultdef)); case nodetype of @@ -689,6 +691,9 @@ unit nx86add; internalerror(2003042214); end; + if op = A_NOP then + internalerror(201408201); + { left and right no register? } { then one must be demanded } if (left.location.loc<>LOC_MMXREGISTER) then